Introduction
The articles in this section describe how to implement common use-cases related to text tracks, subtitles, closed captions and metadata. These use-cases can range from programmatically detecting new metadata, to side-loading subtitles.
The textTrackRendering
feature flag, included by default makes THEOplayer capable of supporting
- subtitle and closed caption formats like WebVTT, CEA-608, DVB Subs and TTML;
- metadata formats like ID3, emsg, EventStream and
EXT-X-DATERANGE
.
The textTrackRendering
feature exposes the TextTracks API. This API allows developers to programmatically switch between text tracks, detect events related to text tracks (e.g. new active cue) and more.
Related articles
- How to dynamically change the visible captions
- How to programmatically detect text tracks
- How to programmatically detect text track changes
- How to programmatically enable or disable text tracks
- How to detect active text track cues
- How to insert subtitles
- How to implement preview thumbnails in THEOplayer
- How to track ID3 cues/tags