w3c / webvtt.js

WebVTT parser and validator
https://w3c.github.io/webvtt.js/parser.html
Creative Commons Zero v1.0 Universal
146 stars 49 forks source link

Style block incorrectly interpreted as cue #27

Closed davemevans closed 2 years ago

davemevans commented 3 years ago

Attemping to parse EXAMPLE 3 from https://w3c.github.io/webvtt/#styling gives the following:

Line 4: Cue identifier needs to be followed by timestamp.
Line 13: Cue identifier needs to be followed by timestamp.

It seems that the header parser misinterpets the style block as a cue.

jpeurich commented 3 years ago

Same problem exists 2 June 2021. Very frustrating bug.