Setup
Upload the ZIP to a Cloudflare Pages Direct Upload project. Open the Pages address. The site builds its grid from a bundled snapshot of the public channel list. Channel selections load the provider’s documented player embed.
Searchable channel grid and JSON
If you have a provider API key, add it as the DLHD_API_KEY secret under your Pages project’s Settings → Variables and Secrets, then redeploy. The site then attempts to refresh its catalogue from the provider API and falls back to the bundled list. The JSON download is available either way at /channels.json.
M3U and playback metadata
Add PLAYBACK_CHANNELS as a Pages variable and redeploy if you have direct HTTPS streams and playback metadata intended for distribution. Match id to a provider channel ID. The exports are available at /channels.m3u and /channels.json.
[{
"id": "302",
"name": "Example channel",
"url": "https://media.example.org/live/index.m3u8",
"group": "Live TV",
"headers": {
"Referer": "https://media.example.org/",
"User-Agent": "ExamplePlayer/1.0"
}
}]
The JSON export preserves a supplied key object. M3U can include ClearKey metadata when key.type is clearkey and key.kid and key.value are 32-character hexadecimal strings. All exported URLs and playback metadata are visible to visitors. Keep private credentials out of the feed.
Player embeds run inside sandboxed frames that block new windows and top-level redirects. The provider’s full watch page is skipped. The provider controls ads shown within those frames and can change its embed behavior.