Readonly
accessibilityThe accessibility settings of the track.
Readonly
activeThe active quality of the media track, i.e. the quality that is currently being played.
Whether the track is enabled.
Readonly
idThe identifier of the media track.
Readonly
kindThe kind of the media track, represented by a value from the following list:
- 'main'
: The track is the default track for playback
- 'alternative'
: The track is not the default track for playback
The label of the media track.
Readonly
languageThe language of the media track.
Readonly
qualitiesThe qualities of the media track.
One or more desired qualities of the media track.
Readonly
uidA unique identifier of the media track.
Add the given listener for the given event type(s).
The type of the event.
The callback which is executed when the event occurs.
Remove the given listener for the given event type(s).
The type of the event.
The callback which will be removed.
Represents a media track (audio or video) of a media resource.