From 52bfa1635843e9e5397657cbc4c746d79b81ed67 Mon Sep 17 00:00:00 2001 From: Jason Farber Date: Thu, 14 Nov 2024 13:03:30 +0000 Subject: [PATCH 01/14] adding open ai relay and devtalk episode 2 to tutorial list --- src/content/videos/index.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/content/videos/index.yaml b/src/content/videos/index.yaml index 1b059fd9bc6ac7..f14576231296cd 100644 --- a/src/content/videos/index.yaml +++ b/src/content/videos/index.yaml @@ -324,3 +324,27 @@ entries: difficulty: Intermediate content_type: 🎥 Video pcx_content_type: tutorial + - link: https://youtu.be/RmF05GpLE20 + title: DevTalk Episode 02 | Post-Quantum Cryptography + description: Bas Westerbaan is Cloudflare’s Research Lead on Post-Quantum efforts. His work ranges from cryptographic implementation and standardization, to driving large-scale experiment and subsequent deployment. + tags: [SSL] + languages: [TypeScript] + products: [SSL] + cloudflare: true + author: bas + updated: 2024-11-14 + difficulty: Beginner + content_type: 🎥 Video + pcx_content_type: tutorial + - link: https://youtu.be/xu4Wb-IppmM + title: OpenAI Relay Server on Cloudflare Workers + description: In this video, Craig Dennis walks you through the deployment of OpenAI's relay server to use with their realtime API. + tags: [Workers, Workers AI, Pages] + languages: [TypeScript] + products: [Workers, Workers AI, Pages] + cloudflare: true + author: craig + updated: 2024-11-14 + difficulty: Intermediate + content_type: 🎥 Video + pcx_content_type: tutorial \ No newline at end of file From 0b79aa8e4b98c84c6b901e448a6831ce639f7a84 Mon Sep 17 00:00:00 2001 From: Jason Farber Date: Thu, 14 Nov 2024 13:16:15 +0000 Subject: [PATCH 02/14] adding workers rpc to docs --- .../docs/workers/runtime-apis/rpc/index.mdx | 8 +++++++- src/content/videos/index.yaml | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/content/docs/workers/runtime-apis/rpc/index.mdx b/src/content/docs/workers/runtime-apis/rpc/index.mdx index d112d1e34f2880..96b5be2185dad4 100644 --- a/src/content/docs/workers/runtime-apis/rpc/index.mdx +++ b/src/content/docs/workers/runtime-apis/rpc/index.mdx @@ -7,7 +7,7 @@ description: The built-in, JavaScript-native RPC system built into Workers and --- -import { DirectoryListing, Render } from "~/components" +import { DirectoryListing, Render, Stream } from "~/components" :::note To use RPC, [define a compatibility date](/workers/configuration/compatibility-dates) of `2024-04-03` or higher, or include `rpc` in your [compatibility flags](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). @@ -230,6 +230,12 @@ In this way, the introducer Worker can connect two Workers that did not otherwis Currently, this proxying only lasts until the end of the Workers' execution contexts. A proxy connection cannot be persisted for later use. +## Video Tutorial + +In this video, we explore how Cloudflare Workers supports Remote Procedure Calls (RPC) to simplify communication between workers. Learn how to implement RPC in your JavaScript applications and build serverless solutions with ease. Whether you’re managing microservices or optimizing web architecture, this tutorial will show you how to quickly set up and use Cloudflare Workers for RPC calls. By the end of this video, you’ll understand how to call functions between workers, pass functions as arguments, and implement user authentication with Cloudflare Workers. + + + ## More Details diff --git a/src/content/videos/index.yaml b/src/content/videos/index.yaml index f14576231296cd..c6a1cc777b9fdc 100644 --- a/src/content/videos/index.yaml +++ b/src/content/videos/index.yaml @@ -347,4 +347,17 @@ entries: updated: 2024-11-14 difficulty: Intermediate content_type: 🎥 Video - pcx_content_type: tutorial \ No newline at end of file + pcx_content_type: tutorial + - link: https://developers.cloudflare.com/workers/runtime-apis/rpc/#video-tutorial + title: Workers RPC Tutorial + description: Learn how to implement RPC in your JavaScript applications and build serverless solutions. + tags: [Workers, Pages] + languages: [TypeScript] + products: [Workers, Pages] + cloudflare: true + author: confidence + updated: 2024-11-14 + difficulty: Beginner + content_type: 🎥 Video + pcx_content_type: tutorial + \ No newline at end of file From e89758d7bb54bd693bc5fc808e35f32e4bb749b9 Mon Sep 17 00:00:00 2001 From: Jason Farber Date: Fri, 15 Nov 2024 13:09:37 +0000 Subject: [PATCH 03/14] add support for removing text beneath each video pointing to YT --- src/components/Stream.astro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Stream.astro b/src/components/Stream.astro index b68eab31d535a9..2f7344c2770d3d 100644 --- a/src/components/Stream.astro +++ b/src/components/Stream.astro @@ -3,9 +3,10 @@ interface Props { videoId: string; videoTitle: string; thumbnailTimeOrURL: string; + moreVideosLink: string; } -const { videoId, videoTitle, thumbnailTimeOrURL } = Astro.props; +const { videoId, videoTitle, thumbnailTimeOrURL, moreVideosLink="true" } = Astro.props; const customerId = "1mwganm1ma0xgnmj"; const baseUrl = `https://customer-${customerId}.cloudflarestream.com/`; @@ -39,7 +40,11 @@ if (thumbnailTimeOrURL !== undefined) { title={videoTitle} id={videoId}> -Watch more videos on our Developer Channel + +{moreVideosLink=="true" && + Watch more videos on our Developer Channel +} +