HLS.js plugin for live captions
How we support HLS.js
HLS.js is supported using our plugin. To integrate you can add some code to the page with the player. It will look something like this:
<script src="https://cdn-staging.captionhub.com/live/hlsjs-plugin-###.js"></script> <script> var video = document.getElementById('my-player'); var hls = ...; // Instantiate your HLS.js player here CaptionHubLiveForHLSJS.init({ video: video, hls: hls, captionsURL: "{{ project-specific captions URL }}", }); </script>
You can get the versioned script URL and captions URL from the βPlugin integrationβ tab on a live project page.
Supported versions
The latest HLS.js version is supported.
Β
Did this answer your question?
π
π
π€©