The kind
property sets or gets the kind attribute of the track.
The kind attribute specifies the kind of text track.
kind |
Yes | 10.0 | Yes | Yes | Yes |
Return the kind property.
var v = trackObject.kind
Set the kind property.
trackObject.kind='captions|chapters|descriptions|metadata|subtitles'
Value | Description |
---|---|
captions | The track defines translation of dialogue and sound effects |
chapters | The track defines chapter titles |
descriptions | The track defines a textual description of the video content |
metadata | The track defines content used by scripts. Not visible for the user |
subtitles | The track defines subtitles, used to display subtitles in a video |
A String type value representing the kind of text track.