- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Thu, 27 Jun 2013 17:36:48 -0400
- To: David Ronca <dronca@netflix.com>
- Cc: public-texttracks@w3.org
Agreed - see https://www.w3.org/Bugs/Public/show_bug.cgi?id=15023 On Thu, Jun 27, 2013 at 2:12 PM, David Ronca <dronca@netflix.com> wrote: > Inline styles would be a tremendously valuable feature since for many years, > most of our assets will be sourced from TV assets, and will be relatively > simple. > > David > > > On Thu, Jun 27, 2013 at 2:32 AM, Silvia Pfeiffer <silviapfeiffer1@gmail.com> > wrote: >> >> Hi David, >> >> That part of the spec is pure speculation at this point and is not >> standardised. Please don't implement that yet. I'm going to have to >> revisit it. >> >> Please only use external style sheets with the Web page into which the >> WebVTT file is included at this point. >> >> Thanks, >> Silvia. >> >> On Thu, Jun 27, 2013 at 2:46 AM, David Ronca <dronca@netflix.com> wrote: >> > The C/S Specification has this section: >> > >> > It is also possible to avoid importing an external style sheet and >> > include >> > the styles directly in the WebVTT header. Here is an example: >> > >> > >> > WEBVTT >> > Style: >> > ::cue { >> > line-height: 5.33vh; >> > font-size: 4.1vh; >> > font-family: monospace; >> > font-style: normal; >> > font-weight: normal; >> > background-color: black; >> > color: white; >> > } >> > ## >> > Kind: captions >> > Language: en-US >> > >> > I don't see much discussion of inline styles in the WebVTT spec. Is it >> > also >> > possible to have named styles defined inline like this? >> > >> > ::cue(c.white) { >> > color: white; >> > } >> > ::cue(c.red) { >> > color: red; >> > } >> > >> > >> > Thanks, >> > David > >
Received on Thursday, 27 June 2013 21:37:35 UTC