Embed Player Generator
Get self-hosted player code for your own stream. No iframe to us, no account.
How to embed an M3U8 player on your website
- Enter the address of your stream and choose the options. The code and the preview update as you type.
- Copy the code as a plain HTML snippet, a complete page, a React component or a WordPress block.
- Paste it into your site. The player is part of your page and talks straight to your streaming server.
- Make sure your server allows it: HTTPS and an
Access-Control-Allow-Originheader for your site's origin.
Why the code is self-hosted
This generator gives you code, not an iframe pointing at our domain. That is deliberate. With self-hosted code your page keeps working whatever happens to this site, no third party sits between your viewers and your stream, and nobody else can see who watches what.
The player itself is a small script written for this site, with no dependencies. It is either pasted inline with the snippet or saved as a8-player.js on your own server. The only external file is hls.js, the open-source HLS library, loaded from a public CDN at a pinned version for HLS streams; you can self-host that too. Safari and iOS play HLS natively, and the player handles both cases.
We do not offer hosted embeds, and the players that the old version of this site served from its own domain have been switched off.
What the generated player supports
muted and playsinline, the combination browsers accept.Embed player FAQ
How do I embed an M3U8 stream in HTML?
Browsers other than Safari cannot play .m3u8 in a plain <video> tag, so you add a small script: hls.js loads the playlist and feeds the video element. Enter your address above and copy the HTML snippet; it contains both the tag and the script.
Is the embed player free? Is there a watermark?
It is free and there is no watermark, logo or link back. The code is plain HTML and JavaScript that you own once you copy it.
Do you provide an iframe embed?
No. An iframe would make your page depend on this site and route your viewers through it. The generated code runs on your own page instead.
Why does the embedded player stay black?
Usually the stream's server does not send CORS headers for your site, or the stream is http:// while your page is https://. Test the address with the CORS checker.
How do I add it to WordPress?
Choose WordPress above, add a Custom HTML block to the post or page and paste the code. Users without the unfiltered_html capability (for example Authors on multisite) cannot save script tags; ask an administrator.
Can I autoplay the stream?
Only muted. Every major browser blocks autoplay with sound. The generator adds muted and playsinline when you tick Autoplay; viewers can unmute with the controls.
Can I use it for any stream?
Use it for streams you operate or are licensed to publish. Embedding other parties' streams on your site without permission is not what the tool is for and is your responsibility. See the acceptable use policy.
Related tools
This is a testing tool. It contains no streams and relays nothing: your browser requests the address you enter directly from its source. Use it only with content you own or are authorised to use. Acceptable use