- From: poot <cvsmail@w3.org>
- Date: Mon, 1 Dec 2008 20:39:10 +0900 (JST)
- To: public-html-diffs@w3.org
Fire 'waiting' after play() if playback is not immediately started. (whatwg r2496) play() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1667.html#dom-media-play pause() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1667.html#dom-media-pause The user agent must queue a task to fire a simple event called timeupdate at the element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1667.html#seekUpdate http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1666&r2=1.1667&f=h http://html5.org/tools/web-apps-tracker?from=2495&to=2496 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1666 retrieving revision 1.1667 diff -u -d -r1.1666 -r1.1667 --- Overview.html 1 Dec 2008 11:25:10 -0000 1.1666 +++ Overview.html 1 Dec 2008 11:36:37 -0000 1.1667 @@ -14785,18 +14785,27 @@ </li> - <li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, it must - be set to false.</li> + <li> + + <p>If the <a href=#media-element>media element</a>'s <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, it must + be set to false.</p> + + <p>If this changed the value of <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>, the user agent must + <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> + called <code title=event-play><a href=#event-play>play</a></code> at the element.</p> + + </li> <li><p>The <a href=#media-element>media element</a>'s <a href=#autoplaying-flag>autoplaying flag</a> must be set to false.</li> - <li><p>The method must then return.</li> + <li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a + value lower than <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>, the + user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple + event</a> called <code title=event-waiting><a href=#event-waiting>waiting</a></code> at + the element.</li> - <li><p>If the fourth step above changed the value of <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>, the user agent must - <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> - called <code title=event-play><a href=#event-play>play</a></code> at the - element.</li> + <li><p>The method must then return.</li> </ol><hr><p>When the <dfn id=dom-media-pause title=dom-media-pause><code>pause()</code></dfn> method is invoked, the user agent must run the following steps:<ol><li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has @@ -14965,7 +14974,7 @@ <li><p>If the <a href=#media-element>media element</a> was <a href=#potentially-playing>potentially playing</a> immediately before it started seeking, but seeking caused its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> - attribute to change to a value lower than <code title=dom-media-HAVE_FUTURE_FRAME>HAVE_FUTURE_FRAME</code>, the + attribute to change to a value lower than <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-waiting><a href=#event-waiting>waiting</a></code> at the element.</li>
Received on Monday, 1 December 2008 11:39:53 UTC