W3C home > Mailing lists > Public > public-html@w3.org > April 2013

Re: TextTrack API changes

From: Simon Pieters <simonp@opera.com>
Date: Thu, 25 Apr 2013 19:57:10 +0200
To: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>, "Glenn Adams" <glenn@skynav.com>, "Bob Lund" <B.Lund@cablelabs.com>
Cc: public-html <public-html@w3.org>, "Jerry Smith, (WINDOWS)" <jdsmith@microsoft.com>, "Mark Vickers @ Comcast" <mark_vickers@cable.comcast.com>
Message-ID: <op.wv3ytktxidj3kv@simons-macbook-pro.local>
On Thu, 25 Apr 2013 17:10:10 +0200, Bob Lund <B.Lund@cablelabs.com> wrote:

> There is getCueAsSource API in  
> http://www.w3.org/TR/2011/WD-html5-20110525/the-iframe-element.html#timed-text-tracks;  
> my mistake on the exact method name.

Please don't read /TR/, let alone a copy from 2011...

> The TextTrackCue text attribute as defined here  
> http://www.w3.org/TR/2012/CR-html5-20121217/embedded-content-0.html#text-track-api  
> is fine.

Again, /TR/ is obsolete.


> There is a definition for in-band MPEG-2 TS text tracks here  
> http://www.cablelabs.com/specifications/CL-SP-HTML5-MAP-I02-120510.pdf  
> that is normatively referenced by the DLNA HTML5 Remote UI spec. This  
> defines use of the TextTrackCue text and getCueAsHTML attributes.

Thanks. This seems to make use of .text, but not so much of  
getCueAsHTML(). The only thing that can return a non-null value for the  
latter is 5.2 Closed Captioning, which says

getCueAsHTML() returns a DocumentFragment with an HTML representation of  
the TextTrackCue text attribute as defined in [HTML5], if the UA knows how  
to create such a representation. Otherwise, getCueAsHTML returns null.

Simon Pieters
Opera Software
Received on Thursday, 25 April 2013 17:58:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:02 UTC