Skip to main content

Module vtt

Module vtt 

Source
Expand description

WebVTT (.vtt) renderer.

WEBVTT

00:00:01.000 --> 00:00:04.000
Subtitle text

...

Functionsยง

render
Render cues to a WebVTT-formatted string. Always emits the WEBVTT header even for an empty cue list, so the output is a valid WebVTT document.