Cloudflare Demo
All demos

Media · CDN + R2

Stream video through Cloudflare CDN

Play a public-domain feature directly from R2 through Cloudflare's CDN. Seeking uses standard HTTP byte ranges while repeated segments are served from edge cache — no Cloudflare Stream, transcoding, or adaptive manifests involved.

CDN video primer

How progressive video delivery works

Two slides, then a live movie served directly from R2 through Cloudflare's CDN.

Progressive video delivery

One MP4, delivered globally

The original movie lives in R2. A custom domain puts Cloudflare's CDN in front of the object, while Video.js provides the playback experience in the browser.

No transcoding, manifests, or Cloudflare Stream APIs: this is standard HTTP video delivery using a cacheable MP4.

Video.js

Playback and seeking

Cloudflare CDN

Cache and byte ranges

R2

Original MP4 object

Browser request → nearest Cloudflare edge → R2 on cache miss

Live progressive playback

A full movie delivered with byte ranges

Video.js provides the player experience while the MP4 remains an ordinary R2 object. Seek through the timeline or run the probe to inspect real CDN range and cache responses.

Night of the Living Dead

George A. Romero, 1968 · Public-domain feature

CDN ready
Duration
1:36:36
Resolution
662×480
Object size
532.79 MB
Format
H.264 / MP4

Internet Archive source · Public Domain Mark 1.0

Direct CDN URL

https://video.orangemoussa.net/movies/night-of-the-living-dead-1968.mp4

Range and cache probe

The app's Worker requests the same 1 MiB interval twice with a fresh cache key. The first response reaches R2; the second should be served by the same Cloudflare edge.

Range: bytes=104857600-105906175