W3C home > Mailing lists > Public > public-whatwg-archive@w3.org > July 2012

Re: [whatwg] Comments about the track element

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 25 Jul 2012 10:00:58 +0200
Message-ID: <CADnb78h+=31p7G=ihHn=ti2t8PxypwPENnePPtKjGP2zupJb5w@mail.gmail.com>
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Cc: Cyril Concolato <cyril.concolato@telecom-paristech.fr>, whatwg@lists.whatwg.org
On Wed, Jul 25, 2012 at 4:24 AM, Silvia Pfeiffer
<silviapfeiffer1@gmail.com> wrote:
> You can even use
> getCueAsHTML() to simply hand the SVG to HTML for rendering.

FWIW, that is not going to work. You need to parse the SVG using
innerHTML or some such. getCueAsHTML() only gives a representation of
a WebVTT tree which cannot contain SVG.


-- 
http://annevankesteren.nl/
Received on Wednesday, 25 July 2012 08:01:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:24:11 UTC