Video Player
Video Player
Use the AntCDN iframe player when you want a fast, drop-in embed with a built-in UI.
Embed URL
Public playback:
https://player.antcdn.net/v1/{edgeKey}/master.m3u8Private playback:
https://player.antcdn.net/v1/{edgeKey}/master.m3u8?jwt={jwt}Common query params
| Param | Example | Meaning |
|---|---|---|
autoplay | autoplay=true | Attempt to autoplay (browsers may require muted) |
muted | muted=true | Start muted |
quality | quality=highest | Initial quality choice (auto, highest, lowest, or 1080p) |
theme | theme=dark | light, dark, or auto |
branding | branding=false | Hide branding for white-label (if enabled) |
Example iframe
<iframe src="https://player.antcdn.net/v1/{edgeKey}/master.m3u8?autoplay=true&muted=true" style="width:100%; aspect-ratio:16/9;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>Notes
- If you need custom players (Shaka, Video.js, hls.js), see
/docs/video-player/. - If you need to generate JWTs, see
/docs/video-playback-controls/private-videos/.