Ask AI

THEOplayer support for live captions

How we support THEOplayer

THEOplayer 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.captionhub.com/live/theoplayer-plugin-<VERSION>.js"></script>
<script>
  var player = new THEOplayer.Player(...);
  
  CaptionHubLiveForTheoPlayer.init({ player: player, captionsURL: "<CAPTIONS_URL>" });
</script>

You can get the versioned script URL and captions URL from the β€œPlayer integration” tab on a live project page.

Layout considerations

CaptionHub adds line breaks to produce easily readable captions. To avoid line wrapping, the plugin will set the default text size of subtitles to 80%. Users will still be able to change the font size in the player settings.

Supported versions

THEOplayer Web version 8 is supported. We do not support other platform SDKs.

Β 
Did this answer your question?
😞
😐
🀩