You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I see this has already been fixed. It looks like the latest version was never pushed to npm, though. Closing this and will use the latest git commits for my project.
The regular expression supplied for matching a WebVTT timestamp does not allow for a timestamp that denotes the hour number with a single digit:
Regular Expression
Example timestamps
However according to the WebVTT spec and its description of how to parse a timestamp, a parser should allow for this case:
The solution would be to update the regular expression to allow for 1 or 2 digits in the hours slot:
The text was updated successfully, but these errors were encountered: