Text tracks
Widely available
The <track>
element is used as a child of the media elements that lets you specify a timed text track to be displayed in parallel with the media element.
Compatibility
- Chrome 23 Released on 2012-11-06
- Chrome Android 25 Released on 2013-02-27
- Edge 12 Released on 2015-07-29
- Firefox 31 Released on 2014-07-22
- Firefox for Android 31 Released on 2014-07-22
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
MDN docs
- HTMLTrackElement
- HTMLTrackElement.cuechange_event
- HTMLTrackElement.src
- TextTrack
- TextTrack.activeCues
- TextTrack.addCue
- TextTrack.cuechange_event
- TextTrack.cues
- TextTrack.id
- TextTrack.inBandMetadataTrackDispatchType
- TextTrack.kind
- TextTrack.label
- TextTrack.language
- TextTrack.mode
- TextTrack.removeCue
- TextTrackCue
- TextTrackCue.endTime
- TextTrackCue.enter_event
- TextTrackCue.exit_event
- TextTrackCue.id
- TextTrackCue.pauseOnExit
- TextTrackCue.startTime
- TextTrackCue.track
- TextTrackCueList
- TextTrackCueList.getCueById
- TextTrackCueList.length
- TextTrackList
- TextTrackList.addtrack_event
- TextTrackList.change_event
- TextTrackList.getTrackById
- TextTrackList.length
- TextTrackList.removetrack_event
Specifications
- HTML Standard, from HTML Workstream (WHATWG).
BCD data
- api.HTMLMediaElement.addTextTrack
- api.HTMLTrackElement
- api.HTMLTrackElement.cuechange_event
- api.HTMLTrackElement.default
- api.HTMLTrackElement.kind
- api.HTMLTrackElement.label
- api.HTMLTrackElement.readyState
- api.HTMLTrackElement.src
- api.HTMLTrackElement.srclang
- api.HTMLTrackElement.track
- api.TextTrack
- api.TextTrack.activeCues
- api.TextTrack.addCue
- api.TextTrack.cuechange_event
- api.TextTrack.cues
- api.TextTrack.id
- api.TextTrack.inBandMetadataTrackDispatchType
- api.TextTrack.kind
- api.TextTrack.label
- api.TextTrack.language
- api.TextTrack.mode
- api.TextTrack.removeCue
- api.TextTrackCue
- api.TextTrackCue.endTime
- api.TextTrackCue.enter_event
- api.TextTrackCue.exit_event
- api.TextTrackCue.id
- api.TextTrackCue.pauseOnExit
- api.TextTrackCue.startTime
- api.TextTrackCue.track
- api.TextTrackCueList
- api.TextTrackCueList.getCueById
- api.TextTrackCueList.length
- api.TextTrackList
- api.TextTrackList.addtrack_event
- api.TextTrackList.change_event
- api.TextTrackList.getTrackById
- api.TextTrackList.length
- api.TextTrackList.removetrack_event
- html.elements.track
- html.elements.track.default
- html.elements.track.kind
- html.elements.track.label
- html.elements.track.src
- html.elements.track.srclang