Time Tracks
track
The track element references an external document containing information about the separate tracks of a video or audio file.
Tracks provide information about the resource such as subtitles, captions, descriptions or chapters.
Tracks may be defined using WebVTT or TTML.
Properties
- src
- Use sourceref notation to identify the file containing the time text track.
- kind
- The pupose of this track:
subtitles
Translation of content that cannot be understood using the native language of the listener.captions
Closed captions for the hearing impaired.descriptions
Descriptions for the blind or visually impaired.chapters
Chapters titles for navigating the media.metadata
Invisible data about the tracks, such as its length.- srclang
- The natural human language of the text track.
- label
- The descriptive title shown to the user when listing the available text tracks.
- default
- When more than one track element is specified, one of them may be identified as the user's default.
Examples
Ancestors
- audio
- The audio element allows a browser to play and pause a media file containing a sound track.
- video
- The video element allows a browser to play and pause a media file containing a video.