- From: poot <cvsmail@w3.org>
- Date: Thu, 14 Apr 2011 21:01:12 -0400
- To: public-html-diffs@w3.org
hixie: Clarify these events. (whatwg r6011) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4832&r2=1.4833&f=h http://html5.org/tools/web-apps-tracker?from=6010&to=6011 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4832 retrieving revision 1.4833 diff -u -d -r1.4832 -r1.4833 --- Overview.html 15 Apr 2011 00:04:03 -0000 1.4832 +++ Overview.html 15 Apr 2011 00:59:19 -0000 1.4833 @@ -25376,14 +25376,6 @@ <td><code><a href="#event">Event</a></code> <td>The user agent can render the <a href="#media-data">media data</a> at the <a href="#current-playback-position">current playback position</a> for the first time. <td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> newly increased to <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or greater for the first time. - <tr><td><dfn id="event-media-waiting" title="event-media-waiting"><code>waiting</code></dfn> - <td><code><a href="#event">Event</a></code> - <td>Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course. - <td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or less than <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, and <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false. Either <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is true, or the <a href="#current-playback-position">current playback position</a> is not contained in any of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. It is possible for playback to stop for two other reasons without <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> being false, but those two reasons do not fire this event: maybe <a href="#ended-playback" title="ended playback">playback ended</a>, or playback <a href="#stopped-due-to-errors">stopped due to errors</a>. - <tr><td><dfn id="event-media-playing" title="event-media-playing"><code>playing</code></dfn> - <td><code><a href="#event">Event</a></code> - <td>Playback has started. - <td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or greater than <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false, <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is false, or the <a href="#current-playback-position">current playback position</a> is contained in one of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. <tr><td><dfn id="event-media-canplay" title="event-media-canplay"><code>canplay</code></dfn> <td><code><a href="#event">Event</a></code> <td>The user agent can resume playback of the <a href="#media-data">media data</a>, but estimates that if playback were to be started now, the <a href="#media-resource">media resource</a> could not be rendered at the current playback rate up to its end without having to stop for further buffering of content. @@ -25392,6 +25384,16 @@ <td><code><a href="#event">Event</a></code> <td>The user agent estimates that if playback were to be started now, the <a href="#media-resource">media resource</a> could be rendered at the current playback rate all the way to its end without having to stop for further buffering. <td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>. + <tr><td><dfn id="event-media-waiting" title="event-media-waiting"><code>waiting</code></dfn> + <td><code><a href="#event">Event</a></code> + <td>Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course. + <td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is equal to or less than <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, and <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false. Either <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is true, or the <a href="#current-playback-position">current playback position</a> is not contained in any of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. It is possible for playback to stop for other reasons without <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> being false, but those reasons do not fire this event: e.g. + <a href="#ended-playback" title="ended playback">playback ended</a>, or playback <a href="#stopped-due-to-errors">stopped due to errors</a>, or the element has <a href="#paused-for-user-interaction">paused for user interaction</a>. + <tr><td><dfn id="event-media-playing" title="event-media-playing"><code>playing</code></dfn> + <td><code><a href="#event">Event</a></code> + <td>Playback has started. + <td>The element is newly <a href="#potentially-playing">potentially playing</a>, either because <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or greater than <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, or because <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is newly false. It is possible for playback to start without this event firing, e.g. if when playback would have started, + the element had <a href="#paused-for-user-interaction">paused for user interaction</a> but the user has now made the necesary selection. <tbody><tr><td><dfn id="event-media-seeking" title="event-media-seeking"><code>seeking</code></dfn> <td><code><a href="#event">Event</a></code>
Received on Friday, 15 April 2011 01:01:13 UTC