Local browser processing. Your video is never uploaded to us.Verify our privacy model
Copy-ready HLS player code

Free M3U8 Embed Player Generator for Responsive HLS Iframe Code

Create a direct HLS player URL and standards-based iframe with autoplay, muted, fullscreen, and picture-in-picture permissions.

No upload No signup No watermark
Open the tool
Direct player link
https://m3u8tomp4.org/hls-player/?muted=1&embed=1
Responsive iframe code
<iframe src="https://m3u8tomp4.org/hls-player/?muted=1&embed=1" title="HLS video player" width="100%" loading="lazy" style="aspect-ratio: 16 / 9; border: 0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>

Live M3U8 iframe embed preview

Embed preview

Generate a direct M3U8 HLS player link

URL parameters carry the public stream address and selected startup behavior into the dedicated player route.

Copy responsive HLS iframe embed code

The generated iframe includes a title, lazy loading, fullscreen, autoplay, and picture-in-picture permissions.

Preview and test an M3U8 embed before publishing

Load the generated player in a live preview or open its direct link in a separate tab.

How to generate M3U8 iframe embed code for an HLS stream

Paste a public playlist, choose whether the player should request autoplay and muted startup, then copy the iframe code. Test it before adding the markup to your site.

Keep the iframe aspect ratio responsive in your own layout with CSS such as aspect-ratio: 16 / 9 and width: 100%.

HLS embed player CORS, autoplay, and browser requirements

The iframe does not change source access rules. The HLS origin must permit cross-origin playlist and segment requests from the embedded player.

Autoplay is a request rather than a guarantee. Browsers can block it based on audio state, device settings, user interaction history, and power-saving policies.

Common questions

M3U8 Embed Generator frequently asked questions

Straight answers about browser support, privacy, source access, and output behavior.

How do I embed an M3U8 HLS stream on a website?

Paste the public playlist, select autoplay and muted behavior, copy the generated iframe, and add it to HTML that you control.

Why does autoplay require muted audio?

Modern browsers commonly block audible autoplay. Starting muted improves compatibility but remains subject to each browser's policy.

Does the iframe proxy or host the HLS video?

No. The embedded player requests the playlist and segments directly, so the media server must allow CORS access and remain available.