track attribute | track property

Returns the TextTrack object that the TextTrackCue belongs to, or null otherwise.

This property is read-only.

HTML5 A vocabulary and associated APIs for HTML and XHTMLInternet Explorer 10



var track= Cue.track;

Property values

Type: TextTrack

TextTrack object associated with the TextTrackCue.

Standards information


Note  To create timed text files in both Web Video Text Track (WebVTT) and Timed Text Markup Language (TTML) formats, see HTML5 Video Caption Maker on the Windows Internet Explorer test drive site.

See also

How to use HTML5 to play video files on your webpage
Make your videos accessible with Timed Text Tracks