track
Summary
Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.
Property of apis/audio-video/TrackEventapis/audio-video/TrackEvent
Syntax
Note: This property is read-only.
var result = object.track;
Return Value
Returns an object of type ObjectObject
Examples
//. . .
var myTrack = document.getElementById("entrack").track; // get track from track element
//. . .
Standards information
Related specifications
- W3C HTML5 Specification
- W3C Editor’s Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article