[html5] r6179 - [giow] (0) Fix the 'potentially playing' mess I made back in Feb.

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 2 17:15:29 PDT 2011


Author: ianh
Date: 2011-06-02 17:15:28 -0700 (Thu, 02 Jun 2011)
New Revision: 6179

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Fix the 'potentially playing' mess I made back in Feb.

Modified: complete.html
===================================================================
--- complete.html	2011-06-02 23:59:24 UTC (rev 6178)
+++ complete.html	2011-06-03 00:15:28 UTC (rev 6179)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 2 June 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 3 June 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -27792,7 +27792,7 @@
      <td>Hints to the user agent that either the author does not expect the user to need the media resource, or that the server wants to minimise unnecessary traffic.
     <tr><td><dfn id=attr-media-preload-metadata title=attr-media-preload-metadata><code>metadata</code></dfn>
      <td><dfn id=attr-media-preload-metadata-state title=attr-media-preload-metadata-state>Metadata</dfn>
-     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <a href=#media-element>media element</a> will end up with its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute set to <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>; typically though, some frames will be obtained as well and it will be <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>.
+     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <a href=#media-element>media element</a> will end up with its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute set to <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>; typically though, some frames will be obtained as well and it will probably be <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>.
     <tr><td><dfn id=attr-media-preload-auto title=attr-media-preload-auto><code>auto</code></dfn>
      <td><dfn id=attr-media-preload-auto-state title=attr-media-preload-auto-state>Automatic</dfn>
      <td>Hints to the user agent that the user agent can put the user's needs first without risk to the server, up to and including optimistically downloading the entire resource.
@@ -28170,9 +28170,10 @@
    without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, or
    there is no more data to obtain in the <a href=#direction-of-playback>direction of
    playback</a>. For example, in video this corresponds to the user
-   agent having data from the current frame, but not the next frame;
-   and to when <a href=#ended-playback title="ended playback">playback has
-   ended</a>.</dd>
+   agent having data from the current frame, but not the next frame,
+   when the <a href=#current-playback-position>current playback position</a> is at the end of
+   the current frame; and to when <a href=#ended-playback title="ended
+   playback">playback has ended</a>.</dd>
 
    <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt>
 
@@ -28182,10 +28183,14 @@
    of playback</a> at least a little without immediately reverting
    to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
    state. For example, in video this corresponds to the user agent
-   having data for at least the current frame and the next frame. The
-   user agent cannot be in this state if <a href=#ended-playback title="ended
-   playback">playback has ended</a>, as the <a href=#current-playback-position>current playback
-   position</a> can never advance in this case.</dd>
+   having data for at least the current frame and the next frame when
+   the <a href=#current-playback-position>current playback position</a> is at the instant in
+   time between the two frames, or to the user agent having the video
+   data for the current frame and audio data to keep playing at least
+   a little when the <a href=#current-playback-position>current playback position</a> is in the
+   middle of a frame. The user agent cannot be in this state if <a href=#ended-playback title="ended playback">playback has ended</a>, as the
+   <a href=#current-playback-position>current playback position</a> can never advance in this
+   case.</dd>
 
    <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>
 
@@ -28468,10 +28473,10 @@
 
   <p>A <a href=#media-element>media element</a> is a <dfn id=blocked-media-element>blocked media
   element</dfn> if its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is in the
-  <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> state or
-  the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
-  state, or if the element has <a href=#paused-for-user-interaction>paused for user
-  interaction</a>.</p>
+  <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> state, the
+  <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, or
+  the <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> state,
+  or if the element has <a href=#paused-for-user-interaction>paused for user interaction</a>.</p>
 
   <p>A <a href=#media-element>media element</a> is said to be <dfn id=potentially-playing>potentially
   playing</dfn> when its <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>

Modified: index
===================================================================
--- index	2011-06-02 23:59:24 UTC (rev 6178)
+++ index	2011-06-03 00:15:28 UTC (rev 6179)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 2 June 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 3 June 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -27781,7 +27781,7 @@
      <td>Hints to the user agent that either the author does not expect the user to need the media resource, or that the server wants to minimise unnecessary traffic.
     <tr><td><dfn id=attr-media-preload-metadata title=attr-media-preload-metadata><code>metadata</code></dfn>
      <td><dfn id=attr-media-preload-metadata-state title=attr-media-preload-metadata-state>Metadata</dfn>
-     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <a href=#media-element>media element</a> will end up with its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute set to <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>; typically though, some frames will be obtained as well and it will be <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>.
+     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <a href=#media-element>media element</a> will end up with its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute set to <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>; typically though, some frames will be obtained as well and it will probably be <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code>.
     <tr><td><dfn id=attr-media-preload-auto title=attr-media-preload-auto><code>auto</code></dfn>
      <td><dfn id=attr-media-preload-auto-state title=attr-media-preload-auto-state>Automatic</dfn>
      <td>Hints to the user agent that the user agent can put the user's needs first without risk to the server, up to and including optimistically downloading the entire resource.
@@ -28159,9 +28159,10 @@
    without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, or
    there is no more data to obtain in the <a href=#direction-of-playback>direction of
    playback</a>. For example, in video this corresponds to the user
-   agent having data from the current frame, but not the next frame;
-   and to when <a href=#ended-playback title="ended playback">playback has
-   ended</a>.</dd>
+   agent having data from the current frame, but not the next frame,
+   when the <a href=#current-playback-position>current playback position</a> is at the end of
+   the current frame; and to when <a href=#ended-playback title="ended
+   playback">playback has ended</a>.</dd>
 
    <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt>
 
@@ -28171,10 +28172,14 @@
    of playback</a> at least a little without immediately reverting
    to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
    state. For example, in video this corresponds to the user agent
-   having data for at least the current frame and the next frame. The
-   user agent cannot be in this state if <a href=#ended-playback title="ended
-   playback">playback has ended</a>, as the <a href=#current-playback-position>current playback
-   position</a> can never advance in this case.</dd>
+   having data for at least the current frame and the next frame when
+   the <a href=#current-playback-position>current playback position</a> is at the instant in
+   time between the two frames, or to the user agent having the video
+   data for the current frame and audio data to keep playing at least
+   a little when the <a href=#current-playback-position>current playback position</a> is in the
+   middle of a frame. The user agent cannot be in this state if <a href=#ended-playback title="ended playback">playback has ended</a>, as the
+   <a href=#current-playback-position>current playback position</a> can never advance in this
+   case.</dd>
 
    <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>
 
@@ -28457,10 +28462,10 @@
 
   <p>A <a href=#media-element>media element</a> is a <dfn id=blocked-media-element>blocked media
   element</dfn> if its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is in the
-  <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> state or
-  the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>
-  state, or if the element has <a href=#paused-for-user-interaction>paused for user
-  interaction</a>.</p>
+  <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code> state, the
+  <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, or
+  the <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> state,
+  or if the element has <a href=#paused-for-user-interaction>paused for user interaction</a>.</p>
 
   <p>A <a href=#media-element>media element</a> is said to be <dfn id=potentially-playing>potentially
   playing</dfn> when its <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code>

Modified: source
===================================================================
--- source	2011-06-02 23:59:24 UTC (rev 6178)
+++ source	2011-06-03 00:15:28 UTC (rev 6179)
@@ -30283,7 +30283,7 @@
     <tr>
      <td><dfn title="attr-media-preload-metadata"><code>metadata</code></dfn>
      <td><dfn title="attr-media-preload-metadata-state">Metadata</dfn>
-     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <span>media element</span> will end up with its <code title="dom-media-readyState">readyState</code> attribute set to <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>; typically though, some frames will be obtained as well and it will be <code title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or <code title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code>.
+     <td>Hints to the user agent that the author does not expect the user to need the media resource, but that fetching the resource metadata (dimensions, first frame, track list, duration, etc) is reasonable. If the user agent precisely fetches no more than the metadata, then the <span>media element</span> will end up with its <code title="dom-media-readyState">readyState</code> attribute set to <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>; typically though, some frames will be obtained as well and it will probably be <code title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> or <code title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code>.
     <tr>
      <td><dfn title="attr-media-preload-auto"><code>auto</code></dfn>
      <td><dfn title="attr-media-preload-auto-state">Automatic</dfn>
@@ -30709,9 +30709,10 @@
    title="dom-media-HAVE_METADATA">HAVE_METADATA</code> state, or
    there is no more data to obtain in the <span>direction of
    playback</span>. For example, in video this corresponds to the user
-   agent having data from the current frame, but not the next frame;
-   and to when <span title="ended playback">playback has
-   ended</span>.</dd>
+   agent having data from the current frame, but not the next frame,
+   when the <span>current playback position</span> is at the end of
+   the current frame; and to when <span title="ended
+   playback">playback has ended</span>.</dd>
 
    <dt><dfn title="dom-media-HAVE_FUTURE_DATA"><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt>
 
@@ -30721,10 +30722,15 @@
    of playback</span> at least a little without immediately reverting
    to the <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>
    state. For example, in video this corresponds to the user agent
-   having data for at least the current frame and the next frame. The
-   user agent cannot be in this state if <span title="ended
-   playback">playback has ended</span>, as the <span>current playback
-   position</span> can never advance in this case.</dd>
+   having data for at least the current frame and the next frame when
+   the <span>current playback position</span> is at the instant in
+   time between the two frames, or to the user agent having the video
+   data for the current frame and audio data to keep playing at least
+   a little when the <span>current playback position</span> is in the
+   middle of a frame. The user agent cannot be in this state if <span
+   title="ended playback">playback has ended</span>, as the
+   <span>current playback position</span> can never advance in this
+   case.</dd>
 
    <dt><dfn title="dom-media-HAVE_ENOUGH_DATA"><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt>
 
@@ -31062,10 +31068,11 @@
   <p>A <span>media element</span> is a <dfn>blocked media
   element</dfn> if its <code
   title="dom-media-readyState">readyState</code> attribute is in the
-  <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code> state or
-  the <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>
-  state, or if the element has <span>paused for user
-  interaction</span>.</p>
+  <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code> state, the
+  <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code> state, or
+  the <code
+  title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code> state,
+  or if the element has <span>paused for user interaction</span>.</p>
 
   <p>A <span>media element</span> is said to be <dfn>potentially
   playing</dfn> when its <code title="dom-media-paused">paused</code>




More information about the Commit-Watchers mailing list