<link href="//domain.com/videojs/skins/nuevo/videojs.min.css" rel="stylesheet"><script src="//domain.com/videojs/video.min.js"></script><script src="//domain.com/videojs/plugins/hlsjs.js"></script><script src="//domain.com/videojs/nuevo.min.js"></script>
<video id="myplayer" class="video-js vjs-fluid" poster="//domain.com/path/to/poster.jpg" controls preload="auto"><source src="//domain.com/path/to/playlist.m3u8" type="application/x-mpegURL"></video>
<script>var player = videojs('example-video');player.nuevo({contextMenu:false});</script>
<script>var hls_options = {html5: {hlsjsConfig: {"debug": true,"enableWorker": true,"lowLatencyMode": true,"backBufferLength": 90}}};var player = videojs('example-video', hls_options);player.nuevo({ contextMenu:false });</script>
<script>var callback = function(videojsPlayer, hlsjs) {
hlsjs.on(Hls.Events.MANIFEST_LOADED, function(event, data) {console.log('Manifest loaded');});// do anything else};videojs.Html5Hlsjs.addHook('beforeinitialize', callback);</script>
videojs.Html5Hlsjs.removeHook('beforeinitialize', callback);
<script>player.ready(function(){player.hlsjs.on(Hls.Events.MANIFEST_LOADED, function (event, data) {console.log('Manifest loaded');});});</script>
<script>var hls_options = {html5: {hlsjsConfig: {smoothQualityChange: false,capLevelToPlayerSize: false}}};var player = videojs('example-video', hls_options);player.nuevo({ contextMenu:false });</script>