Version: 2.67.0

TextTrackType

THEOplayer > TextTrackType

TextTrackType enum

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 declare const enum TextTrackType

Enumeration Members

Member

Value

Description

CEA608

"cea608"

DATE_RANGE

"daterange"

DEFAULT

""

EMSG

"emsg"

EVENT_STREAM

"eventstream"

ID3

"id3"

SRT

"srt"

TTML

"ttml"

WEBVTT

"webvtt"