This page is Not Ready

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

default

Property of dom/HTMLTrackElementdom/HTMLTrackElement

Syntax

var result = element.default;
element.default = value;

Notes

Remarks

This property defines whether the TextTrack is the default for a given video element. The presence of the default attribute, regardless of assigned value, in the track element equals true. If no default is specified, no text track will be displayed with the video. Any track can be selected using the default attribute. If more than one track has the default attribute, the first track with the attribute will be default, and the others will be ignored. 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.

Syntax

Standards information

See also

Related pages

  • track element
  • track object

Attributions