To include the video in your web page add to your html code:
<!-- This should be placed in the html header --> <link href="https://unpkg.com/video.js/dist/video-js.min.css" rel="stylesheet"> <script src="https://unpkg.com/video.js/dist/video.min.js"></script> <script src="https://unpkg.com/video.js/dist/video-contrib-hls.min.js"></script> <!-- This should be placed in the html body to embed the video --> <!-- The id must be unique and it must correspond to parameter in script bellow --> <video-js id="player" class="vjs-default-skin embed-responsive" controls preload="auto" muted> <source src="" type="application/x-mpegURL" > </video-js> <script> var player = videojs("player", {autoplay: true, aspectRatio: "16:9", responsive: true}); </script>
For details see: https://github.com/videojs/http-streaming