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

Changes to WebVTT cue settings

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Thu, 23 Feb 2012 08:00:24 +1100
Message-ID: <CAHp8n2=BO2AJfYSfYvEwT-VMKATnMYfY1MRYuxo5d=qbkoygJg@mail.gmail.com>
To: public-texttracks@w3.org
This is a note to inform everyone that as a consequence to bug
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14929 several changes
were made to align the naming of the attributes in the TextTrack API
of HTML with the naming of cue setting in WebVTT.

Here is the list of changes:
* in WebVTT, the "direction" cue setting was changed to "vertical" and
now accepts the "lr" and "rl" values (which aligns it with CSS); if
you want horizontal text, you don't use this setting or leave the
value empty
* in the TextTrack API the names of the attributes are aligned with
WebVTT cue settings: .align instead of .alignment, .line instead of
.linePosition, and .position instead of .textPosition

Cheers,
Silvia.
Received on Wednesday, 22 February 2012 21:01:14 UTC

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