- From: poot <cvsmail@w3.org>
- Date: Wed, 25 Mar 2009 17:46:54 +0900 (JST)
- To: public-html-diffs@w3.org
Make <video> delay the load event until the first frame is available. (whatwg r2908) Queue a task to fire a simple event called loadedmetadata at the element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.2076.html#fire-loadedmetadata http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2075&r2=1.2076&f=h http://html5.org/tools/web-apps-tracker?from=2907&to=2908 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2075 retrieving revision 1.2076 diff -u -d -r1.2075 -r1.2076 --- Overview.html 25 Mar 2009 08:40:08 -0000 1.2075 +++ Overview.html 25 Mar 2009 08:44:48 -0000 1.2076 @@ -17567,17 +17567,22 @@ </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
Received on Wednesday, 25 March 2009 08:47:30 UTC