Skip to main content

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.m3u8

Private playback:

https://player.antcdn.net/v1/{edgeKey}/master.m3u8?jwt={jwt}

Common query params

ParamExampleMeaning
autoplayautoplay=trueAttempt to autoplay (browsers may require muted)
mutedmuted=trueStart muted
qualityquality=highestInitial quality choice (auto, highest, lowest, or 1080p)
themetheme=darklight, dark, or auto
brandingbranding=falseHide 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/.