Interface: TextTrack
Describes a timed text track (e.g., subtitles, captions, chapters, or metadata) associated with a media element.
Properties
id
id:
string
Unique identifier for the track.
kind
kind:
TextTrackKind
The kind of text track.
See
https://developer.mozilla.org/en-US/docs/Web/API/TextTrack/kind 
label
label:
string
The title of the text track.
language
language:
string
The language of the track text data. Must be a valid BCP 47 language tag.
mode
mode:
TextTrackMode
Whether the track should be enabled by default. Only one track per kind can be enabled by default.
src?
optionalsrc:string
The URL of the track file.
Last updated on