Edit in JSFiddle

<!--

Uses the latest versions of video.js and videojs-http-streaming.

To use specific versions, please change the URLs to the form:

<link href="https://unpkg.com/video.js@6.7.1/dist/video-js.css" rel="stylesheet">
<script src="https://unpkg.com/video.js@6.7.1/dist/video.js"></script>
<script src="https://unpkg.com/@videojs/http-streaming@0.9.0/dist/videojs-http-streaming.js"></script>

-->
<video-js id="my_video_1" class="vjs-default-skin vjs-16-9" controls preload="auto" width="100%" height="350">
  <source src="https://d2zihajmogu5jn.cloudfront.net/advanced-fmp4/master.m3u8" type="application/x-mpegURL">
</video-js>
  
<script>
  var player = videojs('my_video_1', {
    html5: {
      hls: {
        overrideNative: true
      }
    }
  });
</script>