Using Closed Captions with Chromecast Integration
Was this article helpful?
You can use closed captions for VOD (all streams) and Live (HLS and eHLS) content with the Chromecast Integration. Closed captions are enabled by default on the sample sender and receiver applications. By default, the player displays a closed caption button for all assets with closed captions. You must copy over the closed caption (CC) code from our sample sender and receiver applications to have this supported by default on your own sender and receiver applications. For an introduction, see Closed Captions in Player V4.
Supported Closed Caption Formats
- TTML (formerly DFXP)
- Embedded CES-608/708 (Live)
- The sender issues a command to set the language.
- The receiver accepts and instantiates a <track> element to show CC.
- The receiver uses Chromecast's browser default support.
EnablementNo enablement is needed. Closed captions are enabled by default on the sender and receiver applications.
Upload Closed Caption FilesSimply upload your closed caption file for your asset via the Backlot UI or via the Backlot API.
- Display a CC button for assets containing CC file (Live, VoD).
- Send a CC message to the Receiver to turn captions on or off.
- Display the current status of CC (on or off) on the sender device via icon highlighting.
- Turn captions on or off at any time.
- Select or change a caption language at any time.
The receiver application listens to the sender application to display the closed caption language selection set by the end user. If the end user changes the closed caption language on the sender application, the receiver displays the new language closed captions.