R
I

UseMediaTextTrack

testeddemo

A reactive snapshot of a single `TextTrack`.

Demo

Loading demo…

Signature

ts
interface UseMediaTextTrack

Properties

PropertyTypeDescription
idnumberThe index of the text track within the element's `textTracks`
labelstringThe text track label
languagestringLanguage of the track text data (BCP 47)
modeTextTrackModeThe display mode of the text track: `disabled`, `hidden`, or `showing`
kindTextTrackKindHow the text track is meant to be used
inBandMetadataTrackDispatchTypestringThe track's in-band metadata track dispatch type
cuesTextTrackCueList | nullA list of text track cues
activeCuesTextTrackCueList | nullA list of active text track cues