description & Usage
They use the <track> tag to generate the video media subtitle file and the <audio> and <video> tags.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<track> |
Attributes
Attributes | Values | Description |
---|---|---|
default |
default
|
en |
kind |
captions , chapters , descriptions , metadata , subtitles
|
en |
label |
text
|
en |
src |
URL
|
en |
srclang |
language-code
|
en |
Global Attributes
The track tag supports the HTML Global Attributes.
Event Attributes
The track tag supports the HTML Event Attributes.