logo

THEOplayer > TextTrackType

TextTrackType type

The content type of a text track, represented by a value from the following list:
- 'srt': The track contains SRT (SubRip Text) content.
- 'ttml': The track contains TTML (Timed Text Markup Language) content.
- 'webvtt': The track contains WebVTT (Web Video Text Tracks) content.
- 'emsg': The track contains emsg (Event Message) content.
- 'eventstream': The track contains Event Stream content.
- 'id3': The track contains ID3 content.
- 'cea608': The track contains CEA608 content.
- 'daterange': The track contains HLS EXT-X-DATERANGE content.
- '': The type of the track contents is unknown.

Signature:

export type TextTrackType = 'srt' | 'ttml' | 'webvtt' | 'emsg' | 'eventstream' | 'id3' | 'cea608' | 'daterange' | '';
github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona