<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22867</bug_id>
          
          <creation_ts>2013-08-03 06:59:10 +0000</creation_ts>
          <short_desc>sync svg with video</short_desc>
          <delta_ts>2013-08-27 09:17:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>FXTF</product>
          <component>Web Animations</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="j.chetwynd">jay</reporter>
          <assigned_to name="FXTF Web Animation bugs">web-anim-bugs</assigned_to>
          <cc>bbirtles</cc>
    
    <cc>cyril.concolato</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91568</commentid>
    <comment_count>0</comment_count>
    <who name="j.chetwynd">jay</who>
    <bug_when>2013-08-03 06:59:10 +0000</bug_when>
    <thetext>It would be helpful to be able to simply sync SVG with video content,
in such a manner that the author and user had little difficulty,
and could navigate the timeline with a single set of controls.

in the meantime a shim would be great!

use case: visualising data relating to video, where timing is explicit.
maybe overlay or alongside


getCurrentTime() is common to SVG and Video elements, though with rather different interpretations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91628</commentid>
    <comment_count>1</comment_count>
    <who name="Brian Birtles">bbirtles</who>
    <bug_when>2013-08-04 23:31:07 +0000</bug_when>
    <thetext>This is covered by the Web Animations work which is where SVG-related animation features are now being developed.

Media integration was previously included but has been deferred from version 1. Some people are interested in pursuing it as a separate spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91629</commentid>
    <comment_count>2</comment_count>
    <who name="Brian Birtles">bbirtles</who>
    <bug_when>2013-08-04 23:32:28 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; in the meantime a shim would be great!

The Web Animations polyfill used to include this but it may have been removed at this stage. If so it will likely re-appear in the future in some form.

  https://github.com/web-animations/web-animations-js</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92630</commentid>
    <comment_count>3</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-08-27 09:17:01 +0000</bug_when>
    <thetext>Jonathan, 

I fully agree with you and your use cases. 

I see two ways to specify it:
- allowing SVG content to be put in an HTML 5 track element and let the browser handle the synchronization and overlay, just like for subtitles
- allowing the &apos;mediagroup&apos; attribute on &lt;svg&gt; elements as discussed here (http://www.w3.org/2012/07/23-svg-minutes.html)

I&apos;m glad you also agree on the getCurrentTime issue. You might want to see what&apos;s been said in this email thread: http://lists.w3.org/Archives/Public/www-svg/2013Jun/0068.html

Also, if you want to do random access in both video and SVG, you might need to author your content specifically. I&apos;m writing a spec related to that: 
http://dev.w3.org/SVG/modules/streaming/ (comments are welcome).

As for shims, you might be interested in checking these tests:
http://concolato.wp.mines-telecom.fr/2012/06/18/html-5-video-and-svg-graphics-synchronization/
http://concolato.wp.mines-telecom.fr/2013/07/12/playing-svg-content-in-html-5-track-elements/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>