Re: Yet Another Scroll-Up Idea (YASUI) in VTT

On Thu, 27 Sep 2012 03:23:53 +0200, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

>> OK. Works for me. For non-HTML environments, should the UA act as if  
>> there
>> was an HTML document like the one below for the purpose of selector  
>> matching
>> of inline style sheets?
>>
>> <html><head></head><body><video src=""></video></body>
>
> Yes. Though ... how would that work for several videos?

If you want to play several videos at once in a non-HTML environment, then  
just use one "document" per video.

> And what if we
> want some to rely on this stylesheet and other not to?

The style sheet under discussion here is embedded inside the WebVTT file,  
so, if you want the stylesheet to not apply for some videos, just disable  
styles for them? I don't understand why that's wanted, though.

> Should we maybe
> do this:
>
> <html><head></head><body><video class="608708" src=""></video></body>
>
> and then in the CSS file have
>
> video.608708 in front of all the ::cue selectors?

I don't understand the problem you're trying to solve.

-- 
Simon Pieters
Opera Software

Received on Thursday, 27 September 2012 06:09:56 UTC