W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2012

Re: [whatwg] Comments about the track element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Jul 2012 15:04:51 +0000 (UTC)
To: Cyril Concolato <cyril.concolato@telecom-paristech.fr>
Message-ID: <Pine.LNX.4.64.1207241500470.30734@ps20323.dreamhostps.com>
Cc: whatwg@lists.whatwg.org

[only replied on the whatwg list; please if possible avoid cross-posting 
as it tends to fracture threads when people only on one list and not the 
other reply]

On Tue, 24 Jul 2012, Cyril Concolato wrote:
> 
> During the ongoing SVG F2F meeting, the SVG WG discussed the use case of 
> displaying SVG graphics on top of a video, in a synchronous manner.
> 
> The SVG WG believes that for such use case, it is necessary to indicate 
> to the browser that the SVG and video content should stay synchronized 
> (no matter what happens to the video playback), and to let the browser 
> handle the synchronization internally. The SVG WG resolved to include 
> such indication as part of the Web Animation specification, for instance 
> using the HTML mediagroup attribute or the MediaController API.
> 
> However, the SVG WG thinks it would also be interesting to leverage the 
> native UI controls of the video element to select (or deactivate) the 
> display of the SVG content on top of the video, in a similar manner to a 
> subtitle track. Obviously, the HTML 5 track element would be a suitable 
> option for that. However, currently it only allows text tracks. So, the 
> SVG WG would like HTML to allow the track element's URL to identify an 
> SVG resource, and in that case the track kind would be 'graphics'. There 
> would be a need to define how the graphics are displayed on top of the 
> video, for instance reusing the viewport/viewbox negotiation phase. 
> There would also be a need to make a more generic Track API or to 
> replace the TextTrack API by the SVG API when the track is of kind 
> 'graphics'.

My understanding is that the expected way to solve this previously was 
using SMIL, putting the video in the SVG itself. That seems to make more 
sense that having the SVG layered on top of an HTML video. Why is this no 
longer a viable solution?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 July 2012 15:05:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:09 GMT