Hey null, would you like to subscribe to our awesome weekly local deals newsletter ?Of course, you can easily unsubscribe whenever you want.

No thanks

Online Hls Player -

HTTP Live Streaming (Apple’s HLS) is the de facto standard for adaptive bitrate streaming. An online HLS player runs directly in a browser (no install) and handles .m3u8 playlists, switching quality based on network conditions.


Modern browsers block "mixed content." If your player is on https:// but your HLS stream is http://, the browser will block it. Always serve HLS over HTTPS.

Here is how to build a robust HLS player in under 20 lines of code. online hls player

<!DOCTYPE html>
<html>
<body>
  <!-- 1. The Video Element -->
  <video id="video" controls width="100%" height="auto"></video>

<!-- 2. Include the hls.js library --> <script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>

<script> // 3. Your Stream URL var streamUrl = 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8'; HTTP Live Streaming (Apple’s HLS) is the de

// 4. Logic to check browser support
if (Hls.isSupported()) 
  var video = document.getElementById('video');
  var hls = new Hls();
// Bind the player to the video element
  hls.attachMedia(video);
// Load the stream
  hls.loadSource(streamUrl);
// Handle errors (Crucial for production)
  hls.on(Hls.Events.ERROR, function (event, data) 
    if (data.fatal) 
      console.error("Fatal Error:", data);
      // Try to recover here...
);

</script> </body> </html>

When a user hovers over the seek bar, they should see a frame preview. This requires the player to parse a separate .vtt sprite sheet.

If you have a link ending in .m3u8 and you just want to watch it or test if it works, you don't need to write code. These are the best web-based players available: Modern browsers block "mixed content

Once you have the basic player working, look into these configurations: