[html5] r2908 - [gow] (2) Make <video> delay the load event until the first frame is available.

whatwg at whatwg.org whatwg at whatwg.org
Wed Mar 25 01:44:44 PDT 2009


Author: ianh
Date: 2009-03-25 01:44:43 -0700 (Wed, 25 Mar 2009)
New Revision: 2908

Modified:
   index
   source
Log:
[gow] (2) Make <video> delay the load event until the first frame is available.

Modified: index
===================================================================
--- index	2009-03-25 08:40:03 UTC (rev 2907)
+++ index	2009-03-25 08:44:43 UTC (rev 2908)
@@ -20145,18 +20145,23 @@
 
        </li>
 
-       <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event
-       flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load
-       event">delaying the load event</a>.</li>
+       <li>
 
-       <li><p class=note>Once the <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute
-       reaches <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>, a
-       user agent that is attempting to reduce network usage while
-       still fetching the metadata for each <a href=#media-resource>media
-       resource</a> would stop buffering, causing the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
-       switch to the <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code> value, if
-       the <a href=#media-element>media element</a> did not have an <code title=attr-media-autobuffer><a href=#attr-media-autobuffer>autobuffer</a></code> or <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute.</li>
+        <p>Once the <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute
+        reaches <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>,
+        set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a> to
+        false. This stops <a href=#delay-the-load-event title="delay the load event">delaying
+        the load event</a>.</p>
 
+        <p class=note>A user agent that is attempting to reduce
+        network usage while still fetching the metadata for each
+        <a href=#media-resource>media resource</a> would also stop buffering at this
+        point, causing the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute
+        to switch to the <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code> value, if
+        the <a href=#media-element>media element</a> did not have an <code title=attr-media-autobuffer><a href=#attr-media-autobuffer>autobuffer</a></code> or <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute.</p>
+
+       </li>
+
       </ol><p class=note>The user agent is <em>required</em> to
       determine the duration of the <a href=#media-resource>media resource</a> and
       go through this step before playing.</p> <!-- actually defined

Modified: source
===================================================================
--- source	2009-03-25 08:40:03 UTC (rev 2907)
+++ source	2009-03-25 08:44:43 UTC (rev 2908)
@@ -21813,24 +21813,29 @@
 
        </li>
 
-       <li><p>Set the element's <span>delaying-the-load-event
-       flag</span> to false. This stops <span title="delay the load
-       event">delaying the load event</span>.</p></li>
+       <li>
 
-       <li><p class="note">Once the <code
-       title="dom-media-readyState">readyState</code> attribute
-       reaches <code
-       title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code>, a
-       user agent that is attempting to reduce network usage while
-       still fetching the metadata for each <span>media
-       resource</span> would stop buffering, causing the <code
-       title="dom-media-networkState">networkState</code> attribute to
-       switch to the <code
-       title="dom-media-NETWORK_IDLE">NETWORK_IDLE</code> value, if
-       the <span>media element</span> did not have an <code
-       title="attr-media-autobuffer">autobuffer</code> or <code
-       title="attr-media-autoplay">autoplay</code> attribute.</p></li>
+        <p>Once the <code
+        title="dom-media-readyState">readyState</code> attribute
+        reaches <code
+        title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code>,
+        set the element's <span>delaying-the-load-event flag</span> to
+        false. This stops <span title="delay the load event">delaying
+        the load event</span>.</p>
 
+        <p class="note">A user agent that is attempting to reduce
+        network usage while still fetching the metadata for each
+        <span>media resource</span> would also stop buffering at this
+        point, causing the <code
+        title="dom-media-networkState">networkState</code> attribute
+        to switch to the <code
+        title="dom-media-NETWORK_IDLE">NETWORK_IDLE</code> value, if
+        the <span>media element</span> did not have an <code
+        title="attr-media-autobuffer">autobuffer</code> or <code
+        title="attr-media-autoplay">autoplay</code> attribute.</p>
+
+       </li>
+
       </ol>
 
       <p class="note">The user agent is <em>required</em> to




More information about the Commit-Watchers mailing list