A media element can have a group of associated text tracks, known as the media element’s "list of text tracks".
PropertiesNo events.
NotesThe track object contains the collection of TextTrackCues (times and text) that are contained in the file that the track element represents.
WEBVTTTextTrackCues within a TextTrack can be defined within a WebVTT file which is defined as an 8-bit Unicode Transformation Format (UTF-8) format text files that look like the following.
WEBVTT
00:00:01.878 --> 00:00:05.334
Good day everyone, my name is John Smith
00:00:08.608 --> 00:00:15.296
This video will teach you how to
build a sand castle on any beach
The file starts with the tag “WEBVTT” as the first line, followed by a line feed. The timing cues are in the format "HH:MM:SS.sss". The start and end time cues are separated by a space, two hyphens and a greater-than sign ( --> ), and another space. The timing cues are on a line by themselves followed by a line feed. Immediately following the cue is the caption text. Text captions can be one or more lines. The only restriction is that there must be no blank lines between lines of text. The MIME type is "text/vtt".
Related specificationsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4