Mux plugin for live captions
Add captions to a Mux player
If youβve created your project in CaptionHub using the Mux CMS integration, you can use the plugin to add captions to the Mux player.
<mux-player id="my-player" playback-id="YOUR_PLAYBACK_ID"></mux-player> <script src="https://cdn.captionhub.com/live/mux-plugin-1.21.js"></script> <script> CaptionHubLiveForMux.init({ video: document.querySelector('#my-player'), }); </script>
You can get the versioned script URL and captions URL from the βPlugin integrationβ tab on a live project page.
Note that the embed code works for all players, as weβll look up the captions by the Mux playback ID in the player.
Β
Did this answer your question?
π
π
π€©