Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

track element | track object

Provides a way for authors to specify one or more timed text track resources for video elements. For more information on using the track element and object, see track object

Internet Explorer 10

Syntax


  <track kind="subtitles" src="enTrack.vtt" srclang="en" label="English">


DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     track

Members

The track object has these types of members:

Events

The track object has these events.

EventDescription
oncuechange

Occurs when a TextTrackCue in a HTMLTrackElement changes.

 

Properties

The track object has these properties.

PropertyAccess typeDescription

default

Read/write

Gets or sets the default timed text track to use when multiple track elements are specified for a video element.

kind

Read/write

Gets or sets the type or category of the timed text track associated with a track element.

label

Read/write

Gets or sets the label attribute to create a user readable title for a text track.

src

The address or URL of the a media resource (videoaudio) that is to be considered.

srclang

Read/write

Gets or sets the language of the text track data. This attribute is required if "subtitles" is specified in the kind attribute.

track

Read-only

Returns the TextTrack object that corresponds to a track element.

 

See also

track object

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.