[html5] r1117 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 31 17:48:15 PDT 2007


Author: ianh
Date: 2007-10-31 17:48:14 -0700 (Wed, 31 Oct 2007)
New Revision: 1117

Modified:
   index
   source
Log:
[w] (2) Cue ranges: made the 'pause' boolean be ignored during seeks, and other minor edits

Modified: index
===================================================================
--- index	2007-11-01 00:24:39 UTC (rev 1116)
+++ index	2007-11-01 00:48:14 UTC (rev 1117)
@@ -15100,9 +15100,10 @@
    seeking), the user agent must run the following steps. If the <a
    href="#current">current playback position</a> changes while the steps are
    running, then the user agent must wait for the steps to complete, and then
-   must immediately rerun the steps. (If one iteration takes a long time,
-   this can cause certain ranges to be skipped over as the user agent rushes
-   ahead to "catch up".)
+   must immediately rerun the steps. (These steps are thus run as often as
+   possible or needed — if one iteration takes a long time, this can
+   cause certain ranges to be skipped over as the user agent rushes ahead to
+   "catch up".)
 
   <ol>
    <li>
@@ -15126,7 +15127,7 @@
     <p>If none of the <a href="#cue-ranges0" title="cue range">cue ranges</a>
      in <var title="">current ranges</var> have their "active" boolean set to
      "false" (inactive) and none of the <a href="#cue-ranges0" title="cue
-     range">cue ranges</a> in <var title="">current ranges</var> have their
+     range">cue ranges</a> in <var title="">other ranges</var> have their
      "active" boolean set to "true" (active), then abort these steps.
 
    <li>
@@ -15139,12 +15140,15 @@
      playback position.)
 
    <li>
-    <p>If there are any <a href="#cue-ranges0" title="cue range">cue
-     ranges</a> in <var title="">other ranges</var> that have their "active"
-     boolean set to "true" (active) and have their "pause" boolean set to
-     "true" as well, then immediately act as if the element's <code
-     title=dom-media-pause><a href="#pause0">pause()</a></code> method had
-     been invoked.
+    <p>If the time was reached through the usual monotonic increase of the
+     current playback position during normal playback, and there are <a
+     href="#cue-ranges0" title="cue range">cue ranges</a> in <var
+     title="">other ranges</var> that have both their "active" boolean and
+     their "pause" boolean set to "true", then immediately act as if the
+     element's <code title=dom-media-pause><a
+     href="#pause0">pause()</a></code> method had been invoked. (In the other
+     cases, such as explicit seeks, playback is not paused by exiting a cue
+     range, even if that cue range has its "pause" boolean set to "true".)
 
    <li>
     <p>Invoke all the non-null "exit" callbacks for all of the <a

Modified: source
===================================================================
--- source	2007-11-01 00:24:39 UTC (rev 1116)
+++ source	2007-11-01 00:48:14 UTC (rev 1117)
@@ -12918,7 +12918,8 @@
   agent must run the following steps. If the <span>current playback
   position</span> changes while the steps are running, then the user
   agent must wait for the steps to complete, and then must immediately
-  rerun the steps. (If one iteration takes a long time, this can cause
+  rerun the steps. (These steps are thus run as often as possible or
+  needed — if one iteration takes a long time, this can cause
   certain ranges to be skipped over as the user agent rushes ahead to
   "catch up".)</p>
 
@@ -12942,24 +12943,27 @@
    <li><p>If none of the <span title="cue range">cue ranges</span> in
    <var title="">current ranges</var> have their "active" boolean set
    to "false" (inactive) and none of the <span title="cue range">cue
-   ranges</span> in <var title="">current ranges</var> have their
+   ranges</span> in <var title="">other ranges</var> have their
    "active" boolean set to "true" (active), then abort these
    steps.</p></li>
 
    <li><p>If the time was reached through the usual monotonic increase
-   of the current playback position during normal playback, the user
-   agent must then <span>fire a simple event</span> called <code
+   of the current playback position during normal playback, the
+   user agent must then <span>fire a simple event</span> called <code
    title="event-timeupdate">timeupdate</code> at the element. (In the
    other cases, such as explicit seeks, relevant events get fired as
    part of the overall process of changing the current playback
    position.)</p></li>
 
-   <li><p>If there are any <span title="cue range">cue ranges</span>
-   in <var title="">other ranges</var> that have their "active"
-   boolean set to "true" (active) and have their "pause" boolean set
-   to "true" as well, then immediately act as if the element's <code
-   title="dom-media-pause">pause()</code> method had been
-   invoked.</p></li>
+   <li><p>If the time was reached through the usual monotonic increase
+   of the current playback position during normal playback, and there
+   are <span title="cue range">cue ranges</span> in <var
+   title="">other ranges</var> that have both their "active" boolean
+   and their "pause" boolean set to "true", then immediately act as if
+   the element's <code title="dom-media-pause">pause()</code> method
+   had been invoked.  (In the other cases, such as explicit seeks,
+   playback is not paused by exiting a cue range, even if that cue
+   range has its "pause" boolean set to "true".)</p></li>
 
    <li><p>Invoke all the non-null "exit" callbacks for all of the
    <span title="cue range">cue ranges</span> in <var title="">other




More information about the Commit-Watchers mailing list