This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

TrackEvent

Summary

A TrackEvent object exposes (via its track attribute) the track to which an event relates.

Properties

track
Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.

Methods

No methods.

Events

No events.

Notes

The onaddtrack event listener must be added to the video object before the video source content is loaded.

Standards information

Related specifications

W3C HTML5 Specification
W3C Editor’s Draft

Attributions