- From: David Ronca <dronca@netflix.com>
- Date: Thu, 27 Jun 2013 11:12:44 -0700
- Cc: public-texttracks@w3.org
- Message-ID: <CAMjV-FiPhnvu8pmvwRkhV37BLhFzks-+2Hxuf-Pj-SamkGj_VQ@mail.gmail.com>
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 18:13:12 UTC