The read-only track property of the TrackEvent interface specifies the media track object to which the event applies.
The media track will be an AudioTrack, VideoTrack, or TextTrack object.
An object which is one of the types AudioTrack, VideoTrack, or TextTrack, depending on the type of media represented by the track. This identifies the track to which the event applies.
| Specification |
|---|
| HTML> # dom-trackevent-track-dev> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
track |
23 | 12 | 27 | ≤12.1 | 6 | 25 | 27 | ≤12.1 | 7 | 1.5 | 4.4 | 7 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/track