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. |
HTML5 The definition of 'TrackEvent.track' in that specification. | Recommendation | Initial definition. |
No compatibility data found. Please contribute data for "api.TrackEvent.track" (depth: 1) to the MDN compatibility data repository.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TrackEvent/track