parse

fun parse(content: String): SubtitleCueList

Parses a WebVTT file content into a SubtitleCueList.

Return

A SubtitleCueList containing the parsed subtitle cues

Parameters

content

The WebVTT file content as a string