Function moxie_dom::elements::media::track   [−][src]
pub fn track() -> TrackBuilderExpand description
The HTML <track> element is used as a child of the media elements
<audio> and <video>. It lets you specify timed text tracks (or
time-based data), for example to automatically handle subtitles. The tracks are formatted in
WebVTT format (.vtt files) — Web Video Text Tracks or Timed Text Markup Language
(TTML).
A function for creating a builder which will accept attributes and produce the element.