M3U8 Embed Generator

Paste your M3U8 (HLS) stream URL, tune options, then generate and copy your embed page link or iframe snippet—ready for any webpage.

Generate your embed

M3U8 is available today; additional embed types may be added later.

Use a direct link to an M3U8 playlist (HLS). Other video formats are not supported on this page.

Embed page URL

https://m3u8player.app/en/embed/m3u8/?video_url=https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8&autoplay=true

iframe HTML

Paste this snippet into your site’s HTML where you want the player to appear. Adjust width and height to fit your layout.

<iframe src="https://m3u8player.app/en/embed/m3u8/?video_url=https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8&amp;autoplay=true" width="800" height="450" style="border:0;max-width:100%" title="M3U8 HLS player" loading="lazy" allowfullscreen allow="fullscreen; autoplay"></iframe>

How to generate M3U8 embeds for your website

Generate a live iframe from your stream URL in a few steps—no backend required.

1

Paste your M3U8 URL

Enter the full HTTPS link to your HLS playlist (.m3u8). Our tool only supports M3U8 streams.

2

Choose autoplay (optional)

Toggle autoplay for the embed page. Many browsers block sound until the viewer interacts; muted autoplay is more likely to work.

3

Copy the embed URL or iframe

Copy either the hosted embed page URL or the complete iframe HTML, then paste it into your CMS, blog, or static page.

4

Publish and test

Save your page and open it on desktop and mobile. Use “Open preview” anytime to verify the stream before going live.

Why use this M3U8 embed generator

Generate HLS embeds fast—clear parameters, one-click copy, and a player you already trust.

M3U8 / HLS only

Purpose-built for .m3u8 playlists—no confusion with MP4 hosts or third-party video IDs.

URL + iframe in one place

Get both a shareable embed page link and a ready-to-paste iframe snippet with correct encoding.

Autoplay-aware

Optional autoplay flag matches our embed player’s query parameters so you can align with browser autoplay rules.

Responsive-friendly

iframe uses max-width friendly defaults; tweak width and height attributes to match your theme.

Free in the browser

Generate embeds directly in your browser—no account wall for this tool.

Works with your existing player stack

Embeds use the same m3u8player.app embed route your audience already uses for playback.

M3U8 embed generator FAQ

Answers about iframe embedding, autoplay, and what this tool does (and doesn’t) store.

It builds a link to our hosted M3U8 embed player with your stream in the query string, and produces the matching iframe HTML. You paste either into your own website.

Only M3U8 (HLS) playlist URLs. Other formats such as MP4 file links or platform-specific embeds are not supported here.

Not always. Browsers enforce autoplay policies—often allowing muted video but blocking audio until the user interacts. Test with “Open preview” on the browsers you care about.

Generation happens in your browser. We do not require an account for this tool and do not log your pasted URL on our side for this form—your stream is requested by the embed player when viewers load your page.

You must have the right to embed and distribute that content. Some streams block cross-origin playback; if a stream fails in the preview, check CORS, HTTPS, and that the playlist is publicly reachable.

The home page shows a quick example. This page is a full generator with your URL, autoplay toggle, and both copy targets for deeper customization.