Closed eltomito closed 3 years ago
It's a factual error in the docs. Under the "WebVTT cues" heading, it says:
A cue consists of five components:
It makes a big difference, because two newlines (a blank line) would make it impossible to tell whether a following line that starts with "NOTE" is a comment or subtitle text.
All you need to do to fix this is to delete or more :)
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
Updated to "A single newline."
Fix verified, and dupe closed. Thanks @MendyBerger !
Request type
Details
It's a factual error in the docs. Under the "WebVTT cues" heading, it says:
A cue consists of five components:
It makes a big difference, because two newlines (a blank line) would make it impossible to tell whether a following line that starts with "NOTE" is a comment or subtitle text.
All you need to do to fix this is to delete or more :)
https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API