Skip to main content

write_document

Function write_document 

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

Render a standalone WebVTT document: the WEBVTT signature, a blank line, then each cue block separated by a blank line (W3C WebVTT §4).