<?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>11068</bug_id>
          
          <creation_ts>2010-10-15 19:33:28 +0000</creation_ts>
          <short_desc>We should not pause() if the element is removed from a document and then reinserted in the same task, since otherwise that could cause stuttering when moving a video from one frame to another, and would break autoplay when used with innerHTML.</short_desc>
          <delta_ts>2011-08-04 05:06:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#media-playback</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>shadow2531</cc>
    
    <cc>vrk</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41435</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-10-15 19:33:28 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#media-playback

Comment:
We should not pause() if the element is removed from a document and then
reinserted in the same task, since otherwise that could cause stuttering when
moving a video from one frame to another, and would break autoplay when used
with innerHTML.

Posted from: 216.239.45.4 by ian@hixie.ch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41472</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2010-10-18 07:42:49 +0000</bug_when>
    <thetext>True, but it&apos;s not trivial to implement. Is there a good use-case for moving video between frames without audio stutter to motivate that implementation burden?

Also, I don&apos;t understand what would happen with autoplay and innerHTML, can someone clarify?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41474</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2010-10-18 07:48:51 +0000</bug_when>
    <thetext>innerHTML is specified in terms of first parsing into a separate Document and then moving the nodes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43608</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-12-29 08:19:58 +0000</bug_when>
    <thetext>*** Bug 11244 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44532</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-01-21 01:35:33 +0000</bug_when>
    <thetext>Use cases for this just looking at Google apps:

* drag-and-drop of a &lt;video&gt; or something containing a video should not pause the video (e.g. imagine a widget in iGoogle that you can drag to elsewhere on the page).

* popping out a video conference &lt;video&gt; from an in-page chat panel to a separate window (e.g. imagine popping out a video conference happening in an IM window in GMail).

* transitioning a video that is playing in a search results page into a video that seems to be playing in a page dedicated to that video (e.g. imagine a search on YouTube, where you can preview videos on the search page but once you&apos;ve picked one it dynamically reconstructs the page to be the main play page for the video, using pushState and so on).

Obviously these use cases apply to more than just Google projects, I just didn&apos;t want to pick on another company&apos;s products.

For autoplay=&quot;&quot; and innerHTML, the problem is innerHTML is defined in terms that involve a removal of the &lt;video&gt; node from a Document (a hypothetical one, but that doesn&apos;t really matter), and that resets the autoplay functionality.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45735</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-02-17 00:51:47 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45736</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-02-17 00:52:10 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r5899.
Check-in comment: Make it so moving a video around the DOM doesn&apos;t pause it. Also make innerHTML work for &lt;video&gt; elements.
http://html5.org/tools/web-apps-tracker?from=5898&amp;to=5899</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53130</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:06:58 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>