The read-only track property of the TrackEvent interface specifies the media track object to which the event applies. This will be an AudioTrack, VideoTrack, or TextTrack object.


track = TrackEvent.track;


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 Status Comment
HTML Living Standard
The definition of 'TrackEvent.track' in that specification.
Living Standard Initial definition.
The definition of 'TrackEvent.track' in that specification.
Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
trackChrome Full support YesEdge Full support ≤79Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support Yes


Full support  
Full support
Compatibility unknown  
Compatibility unknown