Re: WebVTT signature

I also wonder whether it would be prudent to put a marker on this line, for a version, in case we ever need to do something where the author needs a v2 or greater implementation (and prefers nothing on a v1 implementation)

On Dec 2, 2011, at 14:02 , Simon Pieters wrote:

> IANA considerations says:
> 
> Magic number(s):
> WebVTT files all begin with one of the following byte sequences:
> 
> EF BB BF 57 45 42 56 54 54 0A
> EF BB BF 57 45 42 56 54 54 0D
> EF BB BF 57 45 42 56 54 54 20
> EF BB BF 57 45 42 56 54 54 09
> 57 45 42 56 54 54 0A
> 57 45 42 56 54 54 0D
> 57 45 42 56 54 54 20
> 57 45 42 56 54 54 09
> (An optional UTF-8 BOM, the ASCII string "WEBVTT", and finally a space, tab, or line break.)
> 
> However, the parser accepts files that contain only "WEBVTT" (or BOM followed by "WEBVTT"), without a newline. The syntax requires two newlines, though.
> 
> Is the above intended to match what the parser accepts? Or what the syntax allows?
> 
> -- 
> Simon Pieters
> Opera Software
> 

David Singer
Multimedia and Software Standards, Apple Inc.

Received on Friday, 2 December 2011 13:35:28 UTC