The HTML kind attribute
Quick answer
The HTML kind attribute specifies the kind of text track being provided. It is used on the <track> element.
Overview
The kind attribute sets the kind of a media text track. It is used on the <video>, <audio>, <source> and <track> elements.
It configures native audio or video playback — the source, controls, autoplay and looping behavior, the poster image, and text tracks. It works with the <video>/<audio> elements and their nested <source> and <track> children.
Syntax
<track kind="captions" src="caps.vtt" srclang="en" label="English">
Values
| Value |
|---|
| subtitles | captions | descriptions | chapters | metadata |