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

wrong warning: 'No blank line after the signature' #32

Closed ApayRus closed 2 years ago

ApayRus commented 3 years ago

How I know, after a first line starting with WEBVTT it is ok to have whole paragraph with some data, like, lang, author etc. But your validator throws an error: No blank line after the signature, asking to add blank line after first line...

In my opinion, it is a valid VTT:

Screenshot from 2021-07-04 06-14-54

dontcallmedom commented 2 years ago

The spec doesn't allow non-empty lines after the WebVTT signature, so the validator is correct.

There has been a proposal to change the spec to allow this, but it hasn't been approved yet as far as I can tell.