title: How to stream a m3u8 video in html in chrome
body: <p>Im starting a streaming site and i want to add a m3u8 playlist into it. I have tried the following code but it says <strong>HLS playlist request error at URL</strong></p>
  <p>this is the code i used</p>
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta charset=utf-8 /&gt;
  &lt;title&gt;Your title&lt;/title&gt;
    
  
    &lt;link href=&quot;https://unpkg.com/video.js/dist/video-js.css&quot; rel=&quot;stylesheet&quot;&gt;
    &lt;script src=&quot;https://unpkg.com/video.js/dist/video.js&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js&quot;&gt;&lt;/script&gt;
     
  &lt;/head&gt;
  &lt;body&gt;
    &lt;video id=&quot;my_video_1&quot; class=&quot;video-js vjs-fluid vjs-default-skin&quot; controls preload=&quot;auto&quot;
    data-setup='{}'&gt;
      &lt;source src=&quot;http://iptvtree.net:8080/outputofflinechecker09/AiPh5engoo2AinahKeeZoh7je0bem3.eepon/270&quot; type=&quot;application/x-mpegURL&quot;&gt;
    &lt;/video&gt;
    
  &lt;script&gt;
  var player = videojs('my_video_1');
  player.play();
  &lt;/script&gt;
    
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Can anyone help me solve this problem?
  Thanks in advance</p>