Optional ReadonlydefaultWhether this track should be active by default.
ReadonlykindThe kind of text track.
Optional ReadonlylabelHuman-readable label shown in track selection UI.
ReadonlysrcURL of the track file (typically WebVTT .vtt).
Optional ReadonlysrcBCP 47 language tag (e.g. 'en', 'fr').
A text track (subtitles, captions, chapters, etc.) associated with a media source.
Maps to the HTML
<track>element attributes.Example