-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for metadata headers #5
Comments
Oh, I did not realize anyone was using my validator. Hmm. @silviapfeiffer, @foolip, do you have time to work on this? Do browsers support this new syntax already? Not sure when I have time again to maintain this. |
I can provide you a patch. I think my fork already deals with it. |
Oh, also: I think browsers ignore these heaaders, which is totally fine, because they are more for authors than for browsers. |
Firefox, Chrome and Safari at least ignore them — I haven't looked to see |
If these are for authors, why are they not comments? |
Unfortunately, this syntax is used for regions, search for "Region:" in http://dev.w3.org/html5/webvtt/#other-features to see an example. There's a bug to define regions in a separate block: That being said, they are allowed per the current spec, and that I don't like them doesn't change that. |
We don't actually parse VTT header fields, but we ignore them for now. Fixes w3c#5
I've started seeing WebVTT files which have a header like this:
If I'm reading http://dev.w3.org/html5/webvtt/#webvtt-file-structure correctly, this is a valid file with metadata headers but the validator currently reports an error.
The text was updated successfully, but these errors were encountered: