[prev in list] [next in list] [prev in thread] [next in thread] 

List:       html5-commit-watchers
Subject:    [html5] r5074 - [giow] (0) Captions - Stage 5: preparing the ground
From:       whatwg () whatwg ! org
Date:       2010-05-04 22:55:14
Message-ID: 20100504225514.2A8F41C8C003 () ps20323 ! dreamhostps ! com
[Download RAW message or body]

Author: ianh
Date: 2010-05-04 15:55:12 -0700 (Tue, 04 May 2010)
New Revision: 5074

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Captions - Stage 5: preparing the ground for timed tracks loading, firing \
'waiting' or 'playing' events as appropriate.

Modified: complete.html
===================================================================
--- complete.html	2010-05-04 22:53:36 UTC (rev 5073)
+++ complete.html	2010-05-04 22:55:12 UTC (rev 5074)
@@ -530,9 +530,9 @@
        <li><a href=#timed-tracks><span class=secno>4.8.10.10 </span>Timed tracks</a>
         <ol>
          <li><a href=#timed-track-model><span class=secno>4.8.10.10.1 </span>Timed \
                track model</a></li>
-         <li><a href=#sourcing-in-band-timed-tracks><span class=secno>4.8.10.10.2 \
                </span>Sourcing in-band timed tracks</a></li>
-         <li><a href=#sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.3 \
                </span>Sourcing WebSRT timed tracks</a></li>
-         <li><a href=#timed-track-processing-model><span class=secno>4.8.10.10.4 \
</span>Timed track processing model</a></li> +         <li><a \
href=#timed-track-processing-model><span class=secno>4.8.10.10.2 </span>Timed track \
processing model</a></li> +         <li><a href=#sourcing-in-band-timed-tracks><span \
class=secno>4.8.10.10.3 </span>Sourcing in-band timed tracks</a></li> +         \
<li><a href=#sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.4 \
                </span>Sourcing WebSRT timed tracks</a></li>
          <li><a href=#timed-track-api><span class=secno>4.8.10.10.5 </span>Timed \
                track API</a></li>
          <li><a href=#cue-events><span class=secno>4.8.10.10.6 </span>Event \
definitions</a></ol></li>  <li><a href=#websrt><span class=secno>4.8.10.11 \
</span>WebSRT</a> @@ -25176,8 +25176,12 @@
     agent may also set the <code title=dom-media-paused><a \
                href=#dom-media-paused>paused</a></code> attribute to false,
     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
     named <code title=event-media-play><a href=#event-media-play>play</a></code>, \
                and <a href=#queue-a-task>queue
-    a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code \
title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p> +    a \
task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code \
title=event-media-playing><a href=#event-media-playing>playing</a></code>.  
+     <span class=XXX>need to handle timed tracks loading</span>
+
+    </p>
+
     <p class=note>User agents are not required to autoplay, and it
     is suggested that user agents honor user preferences on the
     matter. Authors are urged to use the <code title=attr-media-autoplay><a \
href=#attr-media-autoplay>autoplay</a></code> attribute rather than @@ -25318,8 \
+25322,9 @@  <code title=dom-media-HAVE_FUTURE_DATA><a \
href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or  <code \
title=dom-media-HAVE_ENOUGH_DATA><a \
href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>,  the element has not <a \
                href=#ended-playback>ended playback</a>, playback has not
-  <a href=#stopped-due-to-errors>stopped due to errors</a>, and the element has not
-  <a href=#paused-for-user-interaction>paused for user interaction</a>.</p>
+  <a href=#stopped-due-to-errors>stopped due to errors</a>, the element has not <a \
href=#paused-for-user-interaction>paused +  for user interaction</a>, and <span \
class=XXX>there are no +  timed tracks loading</span>.</p>
 
   <p>A <a href=#media-element>media element</a> is said to have <dfn \
id=ended-playback>ended  playback</dfn> when the element's <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
attribute is <code title=dom-media-HAVE_METADATA><a \
href=#dom-media-have_metadata>HAVE_METADATA</a></code> or greater, and @@ -25484,27 \
                +25489,33 @@
      <li><p><a href=#queue-a-task>Queue a task</a> to <a \
                href=#fire-a-simple-event>fire a simple event</a>
      named <code title=event-media-play><a href=#event-media-play>play</a></code> at \
the element.</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 the
-     value <code title=dom-media-HAVE_NOTHING><a \
                href=#dom-media-have_nothing>HAVE_NOTHING</a></code>,
-     <code title=dom-media-HAVE_METADATA><a \
                href=#dom-media-have_metadata>HAVE_METADATA</a></code>, or
-     <code title=dom-media-HAVE_CURRENT_DATA><a \
                href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>,
-     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
-     named <code title=event-media-waiting><a \
                href=#event-media-waiting>waiting</a></code> at the
-     element.</li>
+     <li>
 
-     <li><p>Otherwise, the <a href=#media-element>media element</a>'s <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
                attribute has the
-     value <code title=dom-media-HAVE_FUTURE_DATA><a \
                href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or
-     <code title=dom-media-HAVE_ENOUGH_DATA><a \
                href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>;
-     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
-     named <code title=event-media-playing><a \
                href=#event-media-playing>playing</a></code> at the
-     element.</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 the +      value <code title=dom-media-HAVE_NOTHING><a \
href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, +      <code \
title=dom-media-HAVE_METADATA><a \
href=#dom-media-have_metadata>HAVE_METADATA</a></code>, or +      <code \
title=dom-media-HAVE_CURRENT_DATA><a \
href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>, +      <a \
href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple \
event</a> +      named <code title=event-media-waiting><a \
href=#event-media-waiting>waiting</a></code> at the +      element.</li>
 
-    </ol></li>
+      <p>Otherwise, the <a href=#media-element>media element</a>'s <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
attribute has the +      value <code title=dom-media-HAVE_FUTURE_DATA><a \
href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or +      <code \
title=dom-media-HAVE_ENOUGH_DATA><a \
href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>; +      <a \
href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple \
event</a> +      named <code title=event-media-playing><a \
href=#event-media-playing>playing</a></code> at the +      element.</p>
 
-   <li><p>Set the <a href=#media-element>media element</a>'s <a \
href=#autoplaying-flag>autoplaying +      <span class=XXX> handle a timed track \
loading in this step </span> +
+     </ol></li>
+
+    </ol><li><p>Set the <a href=#media-element>media element</a>'s <a \
href=#autoplaying-flag>autoplaying  flag</a> to false.</li>
 
-  </ol><hr><p>When the <dfn id=dom-media-pause \
title=dom-media-pause><code>pause()</code></dfn> +  
+
+  <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:</p>  
   <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 @@ -25993,17 +26004,17 @@
     HTML.</p>
    </dd>
 
-  </dl><h6 id=sourcing-in-band-timed-tracks><span class=secno>4.8.10.10.2 \
</span>Sourcing in-band timed tracks</h6> +  </dl><h6 \
id=timed-track-processing-model><span class=secno>4.8.10.10.2 </span>Timed track \
processing model</h6>  
-  <p>
+  <p class=XXX>...fetching timed tracks; effect on 'waiting' and 'playing' events
 
 
-  <h6 id=sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.3 </span>Sourcing \
WebSRT timed tracks</h6> +  <h6 id=sourcing-in-band-timed-tracks><span \
class=secno>4.8.10.10.3 </span>Sourcing in-band timed tracks</h6>  
-  <p class=XXX>...
+  <p>
 
 
-  <h6 id=timed-track-processing-model><span class=secno>4.8.10.10.4 </span>Timed \
track processing model</h6> +  <h6 id=sourcing-websrt-timed-tracks><span \
class=secno>4.8.10.10.4 </span>Sourcing WebSRT timed tracks</h6>  
   <p class=XXX>...
 
@@ -26323,11 +26334,11 @@
 
    <tbody><tr><td><dfn id=event-media-play \
title=event-media-play><code>play</code></dfn>  <td><code><a \
                href=#event>Event</a></code>
-     <td>Playback has begun. Fired after the <code title=dom-media-play><a \
href=#dom-media-play>play()</a></code> method has returned. +     <td>Playback has \
begun. Fired after the <code title=dom-media-play><a \
href=#dom-media-play>play()</a></code> method has returned, or when the <code \
title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute \
                has caused playback to begin.
      <td><code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> is \
                newly false.
     <tr><td><dfn id=event-media-pause \
title=event-media-pause><code>pause</code></dfn>  <td><code><a \
                href=#event>Event</a></code>
-     <td>Playback has been paused. Fired after the <code title=dom-media-pause><a \
href=#dom-media-pause>pause</a></code> method has returned. +     <td>Playback has \
been paused. Fired after the <code title=dom-media-pause><a \
                href=#dom-media-pause>pause()</a></code> method has returned.
      <td><code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> is \
newly true.  
    <tbody><tr><td><dfn id=event-media-loadedmetadata \
title=event-media-loadedmetadata><code>loadedmetadata</code></dfn> @@ -26342,10 \
+26353,12 @@  <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>. +    \
<span class=XXX> add to the reasons for this event and the preconditions for this \
                event the case of a timed track loading </span>
     <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>. +       <span class=XXX> add to the \
                preconditions for this event that no timed tracks are loading </span>
     <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.

Modified: index
===================================================================
--- index	2010-05-04 22:53:36 UTC (rev 5073)
+++ index	2010-05-04 22:55:12 UTC (rev 5074)
@@ -539,9 +539,9 @@
        <li><a href=#timed-tracks><span class=secno>4.8.10.10 </span>Timed tracks</a>
         <ol>
          <li><a href=#timed-track-model><span class=secno>4.8.10.10.1 </span>Timed \
                track model</a></li>
-         <li><a href=#sourcing-in-band-timed-tracks><span class=secno>4.8.10.10.2 \
                </span>Sourcing in-band timed tracks</a></li>
-         <li><a href=#sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.3 \
                </span>Sourcing WebSRT timed tracks</a></li>
-         <li><a href=#timed-track-processing-model><span class=secno>4.8.10.10.4 \
</span>Timed track processing model</a></li> +         <li><a \
href=#timed-track-processing-model><span class=secno>4.8.10.10.2 </span>Timed track \
processing model</a></li> +         <li><a href=#sourcing-in-band-timed-tracks><span \
class=secno>4.8.10.10.3 </span>Sourcing in-band timed tracks</a></li> +         \
<li><a href=#sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.4 \
                </span>Sourcing WebSRT timed tracks</a></li>
          <li><a href=#timed-track-api><span class=secno>4.8.10.10.5 </span>Timed \
                track API</a></li>
          <li><a href=#cue-events><span class=secno>4.8.10.10.6 </span>Event \
definitions</a></ol></li>  <li><a href=#websrt><span class=secno>4.8.10.11 \
</span>WebSRT</a> @@ -25077,8 +25077,12 @@
     agent may also set the <code title=dom-media-paused><a \
                href=#dom-media-paused>paused</a></code> attribute to false,
     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
     named <code title=event-media-play><a href=#event-media-play>play</a></code>, \
                and <a href=#queue-a-task>queue
-    a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code \
title=event-media-playing><a href=#event-media-playing>playing</a></code>.</p> +    a \
task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code \
title=event-media-playing><a href=#event-media-playing>playing</a></code>.  
+     <span class=XXX>need to handle timed tracks loading</span>
+
+    </p>
+
     <p class=note>User agents are not required to autoplay, and it
     is suggested that user agents honor user preferences on the
     matter. Authors are urged to use the <code title=attr-media-autoplay><a \
href=#attr-media-autoplay>autoplay</a></code> attribute rather than @@ -25219,8 \
+25223,9 @@  <code title=dom-media-HAVE_FUTURE_DATA><a \
href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or  <code \
title=dom-media-HAVE_ENOUGH_DATA><a \
href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>,  the element has not <a \
                href=#ended-playback>ended playback</a>, playback has not
-  <a href=#stopped-due-to-errors>stopped due to errors</a>, and the element has not
-  <a href=#paused-for-user-interaction>paused for user interaction</a>.</p>
+  <a href=#stopped-due-to-errors>stopped due to errors</a>, the element has not <a \
href=#paused-for-user-interaction>paused +  for user interaction</a>, and <span \
class=XXX>there are no +  timed tracks loading</span>.</p>
 
   <p>A <a href=#media-element>media element</a> is said to have <dfn \
id=ended-playback>ended  playback</dfn> when the element's <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
attribute is <code title=dom-media-HAVE_METADATA><a \
href=#dom-media-have_metadata>HAVE_METADATA</a></code> or greater, and @@ -25385,27 \
                +25390,33 @@
      <li><p><a href=#queue-a-task>Queue a task</a> to <a \
                href=#fire-a-simple-event>fire a simple event</a>
      named <code title=event-media-play><a href=#event-media-play>play</a></code> at \
the element.</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 the
-     value <code title=dom-media-HAVE_NOTHING><a \
                href=#dom-media-have_nothing>HAVE_NOTHING</a></code>,
-     <code title=dom-media-HAVE_METADATA><a \
                href=#dom-media-have_metadata>HAVE_METADATA</a></code>, or
-     <code title=dom-media-HAVE_CURRENT_DATA><a \
                href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>,
-     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
-     named <code title=event-media-waiting><a \
                href=#event-media-waiting>waiting</a></code> at the
-     element.</li>
+     <li>
 
-     <li><p>Otherwise, the <a href=#media-element>media element</a>'s <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
                attribute has the
-     value <code title=dom-media-HAVE_FUTURE_DATA><a \
                href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or
-     <code title=dom-media-HAVE_ENOUGH_DATA><a \
                href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>;
-     <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a \
                simple event</a>
-     named <code title=event-media-playing><a \
                href=#event-media-playing>playing</a></code> at the
-     element.</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 the +      value <code title=dom-media-HAVE_NOTHING><a \
href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, +      <code \
title=dom-media-HAVE_METADATA><a \
href=#dom-media-have_metadata>HAVE_METADATA</a></code>, or +      <code \
title=dom-media-HAVE_CURRENT_DATA><a \
href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code>, +      <a \
href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple \
event</a> +      named <code title=event-media-waiting><a \
href=#event-media-waiting>waiting</a></code> at the +      element.</li>
 
-    </ol></li>
+      <p>Otherwise, the <a href=#media-element>media element</a>'s <code \
title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> \
attribute has the +      value <code title=dom-media-HAVE_FUTURE_DATA><a \
href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> or +      <code \
title=dom-media-HAVE_ENOUGH_DATA><a \
href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code>; +      <a \
href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple \
event</a> +      named <code title=event-media-playing><a \
href=#event-media-playing>playing</a></code> at the +      element.</p>
 
-   <li><p>Set the <a href=#media-element>media element</a>'s <a \
href=#autoplaying-flag>autoplaying +      <span class=XXX> handle a timed track \
loading in this step </span> +
+     </ol></li>
+
+    </ol><li><p>Set the <a href=#media-element>media element</a>'s <a \
href=#autoplaying-flag>autoplaying  flag</a> to false.</li>
 
-  </ol><hr><p>When the <dfn id=dom-media-pause \
title=dom-media-pause><code>pause()</code></dfn> +  
+
+  <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:</p>  
   <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 @@ -25894,17 +25905,17 @@
     HTML.</p>
    </dd>
 
-  </dl><h6 id=sourcing-in-band-timed-tracks><span class=secno>4.8.10.10.2 \
</span>Sourcing in-band timed tracks</h6> +  </dl><h6 \
id=timed-track-processing-model><span class=secno>4.8.10.10.2 </span>Timed track \
processing model</h6>  
-  <p>
+  <p class=XXX>...fetching timed tracks; effect on 'waiting' and 'playing' events
 
 
-  <h6 id=sourcing-websrt-timed-tracks><span class=secno>4.8.10.10.3 </span>Sourcing \
WebSRT timed tracks</h6> +  <h6 id=sourcing-in-band-timed-tracks><span \
class=secno>4.8.10.10.3 </span>Sourcing in-band timed tracks</h6>  
-  <p class=XXX>...
+  <p>
 
 
-  <h6 id=timed-track-processing-model><span class=secno>4.8.10.10.4 </span>Timed \
track processing model</h6> +  <h6 id=sourcing-websrt-timed-tracks><span \
class=secno>4.8.10.10.4 </span>Sourcing WebSRT timed tracks</h6>  
   <p class=XXX>...
 
@@ -26224,11 +26235,11 @@
 
    <tbody><tr><td><dfn id=event-media-play \
title=event-media-play><code>play</code></dfn>  <td><code><a \
                href=#event>Event</a></code>
-     <td>Playback has begun. Fired after the <code title=dom-media-play><a \
href=#dom-media-play>play()</a></code> method has returned. +     <td>Playback has \
begun. Fired after the <code title=dom-media-play><a \
href=#dom-media-play>play()</a></code> method has returned, or when the <code \
title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute \
                has caused playback to begin.
      <td><code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> is \
                newly false.
     <tr><td><dfn id=event-media-pause \
title=event-media-pause><code>pause</code></dfn>  <td><code><a \
                href=#event>Event</a></code>
-     <td>Playback has been paused. Fired after the <code title=dom-media-pause><a \
href=#dom-media-pause>pause</a></code> method has returned. +     <td>Playback has \
been paused. Fired after the <code title=dom-media-pause><a \
                href=#dom-media-pause>pause()</a></code> method has returned.
      <td><code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> is \
newly true.  
    <tbody><tr><td><dfn id=event-media-loadedmetadata \
title=event-media-loadedmetadata><code>loadedmetadata</code></dfn> @@ -26243,10 \
+26254,12 @@  <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>. +    \
<span class=XXX> add to the reasons for this event and the preconditions for this \
                event the case of a timed track loading </span>
     <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>. +       <span class=XXX> add to the \
                preconditions for this event that no timed tracks are loading </span>
     <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.

Modified: source
===================================================================
--- source	2010-05-04 22:53:36 UTC (rev 5073)
+++ source	2010-05-04 22:55:12 UTC (rev 5074)
@@ -27127,8 +27127,12 @@
     <span>queue a task</span> to <span>fire a simple event</span>
     named <code title="event-media-play">play</code>, and <span>queue
     a task</span> to <span>fire a simple event</span> named <code
-    title="event-media-playing">playing</code>.</p>
+    title="event-media-playing">playing</code>.
 
+     <span class="XXX">need to handle timed tracks loading</span>
+
+    </p>
+
     <p class="note">User agents are not required to autoplay, and it
     is suggested that user agents honor user preferences on the
     matter. Authors are urged to use the <code
@@ -27283,8 +27287,9 @@
   <code title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or
   <code title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>,
   the element has not <span>ended playback</span>, playback has not
-  <span>stopped due to errors</span>, and the element has not
-  <span>paused for user interaction</span>.</p>
+  <span>stopped due to errors</span>, the element has not <span>paused
+  for user interaction</span>, and <span class="XXX">there are no
+  timed tracks loading</span>.</p>
 
   <p>A <span>media element</span> is said to have <dfn>ended
   playback</dfn> when the element's <code
@@ -27490,25 +27495,32 @@
      <li><p><span>Queue a task</span> to <span>fire a simple event</span>
      named <code title="event-media-play">play</code> at the element.</p></li>
 
-     <li><p>If the <span>media element</span>'s <code
-     title="dom-media-readyState">readyState</code> attribute has the
-     value <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>,
-     <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>, or
-     <code
-     title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code>,
-     <span>queue a task</span> to <span>fire a simple event</span>
-     named <code title="event-media-waiting">waiting</code> at the
-     element.</p></li>
+     <li>
 
-     <li><p>Otherwise, the <span>media element</span>'s <code
-     title="dom-media-readyState">readyState</code> attribute has the
-     value <code
-     title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or
-     <code title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>;
-     <span>queue a task</span> to <span>fire a simple event</span>
-     named <code title="event-media-playing">playing</code> at the
-     element.</p></li>
+      <p>If the <span>media element</span>'s <code
+      title="dom-media-readyState">readyState</code> attribute has the
+      value <code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>,
+      <code title="dom-media-HAVE_METADATA">HAVE_METADATA</code>, or
+      <code
+      title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code>,
+      <span>queue a task</span> to <span>fire a simple event</span>
+      named <code title="event-media-waiting">waiting</code> at the
+      element.</p></li>
 
+      <p>Otherwise, the <span>media element</span>'s <code
+      title="dom-media-readyState">readyState</code> attribute has the
+      value <code
+      title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code> or
+      <code
+      title="dom-media-HAVE_ENOUGH_DATA">HAVE_ENOUGH_DATA</code>;
+      <span>queue a task</span> to <span>fire a simple event</span>
+      named <code title="event-media-playing">playing</code> at the
+      element.</p>
+
+      <span class="XXX"> handle a timed track loading in this step </span>
+
+     </li>
+
     </ol>
 
    </li>
@@ -28084,6 +28096,11 @@
   </dl>
 
 
+  <h6>Timed track processing model</h6>
+
+  <p class="XXX">...fetching timed tracks; effect on 'waiting' and 'playing' events
+
+
   <h6>Sourcing in-band timed tracks</h6>
 
   <p>
@@ -28094,11 +28111,6 @@
   <p class="XXX">...
 
 
-  <h6>Timed track processing model</h6>
-
-  <p class="XXX">...
-
-
   <h6>Timed track API</h6>
 
 <!--
@@ -28450,12 +28462,12 @@
     <tr>
      <td><dfn title="event-media-play"><code>play</code></dfn>
      <td><code>Event</code>
-     <td>Playback has begun. Fired after the <code \
title="dom-media-play">play()</code> method has returned. +     <td>Playback has \
begun. Fired after the <code title="dom-media-play">play()</code> method has \
returned, or when the <code title="attr-media-autoplay">autoplay</code> attribute has \
caused playback to begin.  <td><code title="dom-media-paused">paused</code> is newly \
false.  <tr>
      <td><dfn title="event-media-pause"><code>pause</code></dfn>
      <td><code>Event</code>
-     <td>Playback has been paused. Fired after the <code \
title="dom-media-pause">pause</code> method has returned. +     <td>Playback has been \
paused. Fired after the <code title="dom-media-pause">pause()</code> method has \
returned.  <td><code title="dom-media-paused">paused</code> is newly true.
 
    <tbody>
@@ -28474,11 +28486,13 @@
      <td><code>Event</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">readyState</code> is newly equal to or less than <code \
title="dom-media-HAVE_CURRENT_DATA">HAVE_CURRENT_DATA</code>, and <code \
title="dom-media-paused">paused</code> is false. Either <code \
title="dom-media-seeking">seeking</code> is true, or the <span>current playback \
position</span> is not contained in any of the ranges in <code \
title="dom-media-buffered">buffered</code>. It is possible for playback to stop for \
two other reasons without <code title="dom-media-paused">paused</code> being false, \
but those two reasons do not fire this event: maybe <span title="ended \
playback">playback ended</span>, or playback <span>stopped due to errors</span>. +    \
<span class="XXX"> add to the reasons for this event and the preconditions for this \
event the case of a timed track loading </span>  <tr>
      <td><dfn title="event-media-playing"><code>playing</code></dfn>
      <td><code>Event</code>
      <td>Playback has started.
      <td><code title="dom-media-readyState">readyState</code> is newly equal to or \
greater than <code title="dom-media-HAVE_FUTURE_DATA">HAVE_FUTURE_DATA</code>, <code \
title="dom-media-paused">paused</code> is false, <code \
title="dom-media-seeking">seeking</code> is false, or the <span>current playback \
position</span> is contained in one of the ranges in <code \
title="dom-media-buffered">buffered</code>. +       <span class="XXX"> add to the \
preconditions for this event that no timed tracks are loading </span>  <tr>
      <td><dfn title="event-media-canplay"><code>canplay</code></dfn>
      <td><code>Event</code>

_______________________________________________
Commit-Watchers mailing list
Commit-Watchers@lists.whatwg.org
http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic