Images & Media

kind="metadata"

Identifies timed information for scripts rather than ordinary visible captions. Applications can use active cues to synchronize UI, but must implement that behavior themselves. On track inside audio or video; absent defaults to subtitles, invalid defaults to metadata. Supply a WebVTT file and a media asset to observe cue behavior.

Formal Syntax & Structure

html syntaxhtml
kind="metadata"

Parameters & Attributes

NameTypeDescription
kindkeywordIdentifies timed information for scripts rather than ordinary visible captions. Applications can use active cues to synchronize UI, but must implement that behavior themselves.

Working Example

Example Snippethtml
<video controls src="sample.mp4">  <track kind="metadata" src="track.vtt" srclang="en" label="English"></video>
HTML Reference