HLS Captions

HLS 608 Captions

Demonstrate caption styling with HLS streams.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="hls"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("hls", {
    "plugins": {
        "captionsettings": {}
    },
    "sources": [
        {
            "src": "https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8",
            "type": "application/x-mpegurl"
        }
    ]
});
  </script>