kind property

Gets the type or category of the timed text track associated with a TextTrack object.

This property is read-only.

HTML5 A vocabulary and associated APIs for HTML and XHTMLInternet Explorer 10

 

Syntax

JavaScript
trackKind = object.kind

 

Property values

Type: string

A keyword that describes the type of text content the track represents.

Standards information

Remarks

The keywords can be one of the following:

  • subtitles - A transcription or translation of the audio dialog.
  • captions - A transcription or translation of the dialog, sound effects, musical cues, or other audio information.
  • descriptions - Textual descriptions of the video component, intended for audio synthesis, such as text-to-speech conversion, when the video component is not viewable by the user.
  • chapters - Chapter titles to be used for navigating the video content.
  • metadata - Information available to be used from script, not displayed in the player or browser.
Note  To create timed text files in both Web Video Text Track (WebVTT) and Timed Text Markup Language (TTML) formats, see HTML5 Video Caption Maker on the Windows Internet Explorer test drive site.
 

See also

TextTrack
Make your videos accessible with Timed Text Tracks

 

 

Show: