Optional
identifierThe unique identifier for this track. If no value is provided, a random UUIDv4 will be generated for it.
Optional
isIf set to true, this track would be considered as default. Default is false
.
Optional
labelThe label for this track.
Optional
languageThe IETF BCP 47 language tag associated with this track, e.g. pt
, en
, es
etc.
Optional
rolesAn array of MediaTrackRole objects, each describing a specific role or characteristic of the audio track. This property provides a unified way to understand track purposes (e.g., for accessibility) across platforms.
Optional
urlThe URL to the timed file, e.g. WebVTT file.
Represents an audio track for a video.