Properties
id
Unique identifier of the trackreadonlyid:string
type
readonly type: ITrackType
Type of the track (AUDIO, VIDEO, or TEXT)
kind
Specific classification of the track (e.g., “main”, “commentary”, “subtitles”)readonlykind:string
label
User-friendly label for the trackreadonlylabel:string
language
Language of the track content (e.g., “en”, “es”) For “AUDIO” ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-audiotrack-language For “TEXT” ITrackType, refer to: https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-languagereadonlylanguage:string
enabled?
Indicates if the track is currently active Applicable only for AUDIO or VIDEO tracksoptionalreadonlyenabled:boolean
mode?
Display mode of the text track Applicable only for TEXT tracksoptionalreadonlymode: ITextTrackMode

