First film: a two-minute tour
A sample video post — this is how large videos are embedded via Cloudflare Stream without bloating the site.
Video files don’t live in this repository — Cloudflare Pages caps individual files at 25 MB. Instead, upload footage of any size to Cloudflare Stream and drop it into a post with one line:
▶ Video goes here — set STREAM_CUSTOMER_CODE in src/config.ts
(see README: “Large video with Cloudflare Stream”)
(see README: “Large video with Cloudflare Stream”)
Stream handles encoding, adaptive bitrates, and global delivery, so a 2 GB master file plays smoothly on a phone in a metro tunnel. Upload steps are in the README under “Large video with Cloudflare Stream.”
Comments are one config away — set
GISCUS.enabled = trueinsrc/config.ts(steps in the README).