Re: {minutes} Geneva F2F day 1 16/09/2014

On Tue, Sep 23, 2014 at 1:04 AM, Nigel Megitt <nigel.megitt@bbc.co.uk> wrote:
>
>>3.) CSS works by using ::cue and ::cue-region - the first for cues and
>>the second for regions.
>>These selectors work from a Web page (wherever CSS is specified there)
>>and override default styling of WebVTT cues.
>
> Is there a selector that can be used to distinguish cues within different
> WebVTT resources referenced from the same HTML, so that it is possible to
> style them differently?


::cue is a CSS pseudo-element, just like ::first-line or ::first-letter .
It needs to have a CSS selector in front of it to apply.

So, you should be able to apply it to different WebVTT files in
different <track> elements.

HTH,
Silvia.

Received on Tuesday, 23 September 2014 01:43:25 UTC