kind
Summary
Returns the text track kind string.
Property of apis/audio-video/TextTrackapis/audio-video/TextTrack
Syntax
Note: This property is read-only.
var result = TextTrack.kind;
Return Value
Returns an object of type StringString
Examples
<video id="video1" controls autoplay loop>
<source src="http://ie.microsoft.com/testdrive/ieblog/2011/nov/pp4_blog_demo.mp4" type="video/mp4">
<track id="enTrack" src="entrack.vtt" label="English" kind="subtitles" srclang="en" default>
<track id="esTrack" src="estrack.vtt" label="Spanish" kind="subtitles" srclang="es">
<track id="deTrack" src="detrack.vtt" label="German" kind="subtitles" srclang="de">
HTML5 video not supported
</video>
Related specifications
- W3C HTML5 Specification
- W3C Editor’s Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article