This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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