Re: meta-data in the VTT file header, a strawman proposal

On Apr 11, 2012, at 10:10 , Silvia Pfeiffer wrote:

>> RFC 822 generally considers values as "one long line that can be folded if it's too long", and I am not sure that's right for us.   I think that line-breaks can be significant in some of the values we cant, no?  (Such as CSS).
> 
> Do we need empty lines?

it makes style-sheets readable, and aren't line-breaks significant in style-sheets?

And we don't *want* actual empty lines, as simple parsers will think the cue-text is coming next.

> 
> 
>> On my reading of 822, I think this example would have to be:
>> 
>> Kind: captions
>> X-examplecompany-test: for steve
>> Timestamp-offset: 162642774
>> StylesheetURL: http://www.example.com/vtt-plain.css
>> Style:
>>  p { font-size: 100px; }
>>  p::first-line {
>>   background: url(http://www.w3.org/StyleSheets/TR/logo-REC) no-repeat;
>>   font-size: 10px;
>>   span { border-left: solid 1em black; }
>>  }
>> srclang: en_US
>> Label: 𝟎s for 王!
> 
> Yeah, I think that's correct.


David Singer
Multimedia and Software Standards, Apple Inc.

Received on Thursday, 19 April 2012 08:30:44 UTC