Javascript Reference - HTML DOM Track kind Property








The kind property sets or gets the kind attribute of the track.

The kind attribute specifies the kind of text track.

Browser Support

kind Yes 10.0 Yes Yes Yes

Syntax

Return the kind property.

var v = trackObject.kind

Set the kind property.

trackObject.kind='captions|chapters|descriptions|metadata|subtitles'

Property Values

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




Return Value

A String type value representing the kind of text track.