- From: David Singer <singer@apple.com>
- Date: Fri, 16 Dec 2011 14:55:51 -0800
- To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Cc: "public-texttracks@w3.org" <public-texttracks@w3.org>
OK, decided! No version indication. If we ever break compatibility, we call it something new. But the door is open for 'header information' (e.g. CSS, other information that would be in the wrapper such as HTML, when the file gets embedded). On Dec 3, 2011, at 13:45 , Silvia Pfeiffer wrote: > I think the only versioning that we want is some kind of standard set of 'CSS' rules. For example the BBC may always want a specific font and a certain set of colors that would be used for a .red .green .blue class markup etc. However, we do not need versions for that. It can be achieved through name-value pairs at the start of the file (header-style metadata), which I'd really like to see introduced for other use cases, too. These include adding the main language used by the file (I.e. what the browser uses @srclang for), adding the kind, and adding the label. All of these may be ignored be browsers, but are really important for stand-alone players. > > As for the signature: I always thought that 'WEBVTT' plus potential BOM would be sufficient to recognize it. It's not sufficient to parse it successfully but that doesn't matter to IANA. > > Cheers, > Silvia. > > Sent from my iPhone > > On 03/12/2011, at 12:34 AM, David Singer <singer@apple.com> wrote: > >> 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. >> >> > David Singer Multimedia and Software Standards, Apple Inc.
Received on Friday, 16 December 2011 22:57:03 UTC