Skip to main content

render

Function render 

Source
pub fn render(cues: &[Cue]) -> String
Expand description

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.