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

video *controls *poster="/images/das-boot.gif" {
source `/videos/das-boot.mp4` *type=video/mp4
track `das-boot-captions.vtt` *kind=captions *srclang=en
track `das-boot-en.vtt` *kind=subtitles *srclang=en
track `das-boot-de.vtt` *kind=subtitles *srclang=de
track `das-boot-ja.vtt` *kind=subtitles *srclang=ja
}
A video with multiple tracks

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.

0

semantax > media-embed > trackTime Tracks

🔗 🔎