W3C home > Mailing lists > Public > public-texttracks@w3.org > September 2012

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

From: Simon Pieters <simonp@opera.com>
Date: Thu, 27 Sep 2012 08:09:18 +0200
To: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
Cc: public-texttracks <public-texttracks@w3.org>, "David Singer" <singer@apple.com>
Message-ID: <op.wk951sunidj3kv@device-23f190>
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

This archive was generated by hypermail 2.3.1 : Thursday, 8 May 2014 13:18:52 UTC