[html5] r5070 - [e] (0) remove old cuerange stuff

whatwg at whatwg.org whatwg at whatwg.org
Mon May 3 21:21:20 PDT 2010


Author: ianh
Date: 2010-05-03 21:21:19 -0700 (Mon, 03 May 2010)
New Revision: 5070

Modified:
   complete.html
   index
   source
Log:
[e] (0) remove old cuerange stuff

Modified: complete.html
===================================================================
--- complete.html	2010-05-04 02:00:44 UTC (rev 5069)
+++ complete.html	2010-05-04 04:21:19 UTC (rev 5070)
@@ -23665,22 +23665,13 @@
            attribute boolean <a href=#dom-media-loop title=dom-media-loop>loop</a>;
   void <a href=#dom-media-play title=dom-media-play>play</a>();
   void <a href=#dom-media-pause title=dom-media-pause>pause</a>();
-<!--v2CUERANGE
-  // cue ranges
-  void <span title="dom-media-addCueRange">addCueRange</span>(in DOMString className, in DOMString id, in float start, in float end, in boolean pauseOnExit, in <span>CueRangeCallback</span> enterCallback, in <span>CueRangeCallback</span> exitCallback);
-  void <span title="dom-media-removeCueRanges">removeCueRanges</span>(in DOMString className);
--->
+
   // controls
            attribute boolean <a href=#dom-media-controls title=dom-media-controls>controls</a>;
            attribute float <a href=#dom-media-volume title=dom-media-volume>volume</a>;
            attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;
-};<!--v2CUERANGE
+};</pre>
 
-[Callback=FunctionOnly, NoInterfaceObject]
-interface <dfn>CueRangeCallback</dfn> {
-  void <span title="dom-CueRangeCallback-handleEvent">handleEvent</span>(in DOMString id);
-};--></pre>
-
   <p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>, <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code>, and <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code>, apply to all <a href=#media-element title="media element">media elements</a>. They are defined in
   this section.</p>
 
@@ -25159,104 +25150,7 @@
   </div>
 
 
-<!--v2CUERANGE
-  <h5>Cue ranges</h5>
 
-  <dl class="domintro">
-
-   <dt><var title="">media</var> . <code title="dom-media-addCueRange">addCueRange</code>(<var title="">className</var>, <var title="">id</var>, <var title="">start</var>, <var title="">end</var>, <var title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var title="">exitCallback</var>)</dt>
-
-   <dd>
-
-    <p>Registers a range of time, given in seconds, and a pair of
-    callbacks, the first of which will be invoked when the
-    <span>current playback position</span> enters the range, and the
-    second of which will be invoked when it exits the range. The
-    callbacks are invoked with the given ID as their argument.</p>
-
-    <p>In addition, if the <var title="">pauseOnExit</var> argument is
-    true, then playback will pause when it reaches the end of the
-    range.</p>
-
-   </dd>
-
-   <dt><var title="">media</var> . <code title="dom-media-removeCueRange">removeCueRange</code>(<var title="">className</var>)</dt>
-
-   <dd>
-
-    <p>Removes all the ranges that were registered with the given
-    class name.</p>
-
-   </dd>
-
-  </dl>
-
-  <div class="impl">
-
-  <p><span title="media element">Media elements</span> have a set of
-  <dfn title="cue range">cue ranges</dfn>. Each cue range is made up
-  of the following information:</p>
-
-  <dl>
-
-   <dt>A class name</dt>
-   <dd>A group of related ranges can be given the same class name so
-   that they can all be removed at the same time.</dd>
-
-   <dt>An identifier</dt>
-   <dd>A string can be assigned to each cue range for identification
-   by script. The string need not be unique and can contain any
-   value.</dd>
-
-   <dt>A start time</dt>
-   <dt>An end time</dt>
-   <dd>The actual time range, using the same timeline as the
-   <span>media resource</span> itself.</dd>
-
-   <dt>A "pause" boolean</dt>
-   <dd>A flag indicating whether to pause playback on exit.</dd>
-
-   <dt>An "enter" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> enters the range.</dd>
-
-   <dt>An "exit" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> exits the range.</dd>
-
-   <dt>An "active" boolean</dt>
-   <dd>A flag indicating whether the range is active or not.</dd>
-
-  </dl>
-
-  <p>The <dfn title="dom-media-addCueRange"><code>addCueRange(<var
-  title="">className</var>, <var title="">id</var>, <var
-  title="">start</var>, <var title="">end</var>, <var
-  title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var
-  title="">exitCallback</var>)</code></dfn> method must, when called,
-  add a <span>cue range</span> to the <span>media element</span>, that
-  cue range having the class name <var title="">className</var>, the
-  identifier <var title="">id</var>, the start time <var
-  title="">start</var> (in seconds), the end time <var
-  title="">end</var> (in seconds), the "pause" boolean with the same
-  value as <var title="">pauseOnExit</var>, the "enter" callback <var
-  title="">enterCallback</var>, the "exit" callback <var
-  title="">exitCallback</var>, and an "active" boolean that is true if
-  the <span>current playback position</span> is equal to or greater
-  than the start time and less than the end time, and false
-  otherwise.</p>
-
-  <p>The <dfn
-  title="dom-media-removeCueRanges"><code>removeCueRanges(<var
-  title="">className</var>)</code></dfn> method must, when called,
-  remove all the <span title="cue range">cue ranges</span> of the
-  <span>media element</span> which have the class name <var
-  title="">className</var>.</p>
-
-  </div>
--->
-
-
   <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the media resource</h5>
 
   <dl class=domintro><dt><var title="">media</var> . <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code></dt>
@@ -25605,7 +25499,7 @@
   certain ranges to be skipped over as the user agent rushes ahead to
   "catch up".)</p>
 
-  <ol><!--v2CUERANGE
+  <ol><!--XXXTT - the text below is wrong, but we need to do something similar, updating the timed tracks, pausing if necessary (more below)
    <li><p>Let <var title="">current ranges</var> be an ordered list of
    <span title="cue range">cue ranges</span>, initialized to contain
    all the <span title="cue range">cue ranges</span> of the
@@ -25638,7 +25532,7 @@
    not any more frequent than the user agent can comfortably handle
    while decoding the video.</li>
 
-<!--v2CUERANGE [beware - - nested comments]
+<!--XXXTT [beware - - nested comments]
    <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

Modified: index
===================================================================
--- index	2010-05-04 02:00:44 UTC (rev 5069)
+++ index	2010-05-04 04:21:19 UTC (rev 5070)
@@ -23566,22 +23566,13 @@
            attribute boolean <a href=#dom-media-loop title=dom-media-loop>loop</a>;
   void <a href=#dom-media-play title=dom-media-play>play</a>();
   void <a href=#dom-media-pause title=dom-media-pause>pause</a>();
-<!--v2CUERANGE
-  // cue ranges
-  void <span title="dom-media-addCueRange">addCueRange</span>(in DOMString className, in DOMString id, in float start, in float end, in boolean pauseOnExit, in <span>CueRangeCallback</span> enterCallback, in <span>CueRangeCallback</span> exitCallback);
-  void <span title="dom-media-removeCueRanges">removeCueRanges</span>(in DOMString className);
--->
+
   // controls
            attribute boolean <a href=#dom-media-controls title=dom-media-controls>controls</a>;
            attribute float <a href=#dom-media-volume title=dom-media-volume>volume</a>;
            attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;
-};<!--v2CUERANGE
+};</pre>
 
-[Callback=FunctionOnly, NoInterfaceObject]
-interface <dfn>CueRangeCallback</dfn> {
-  void <span title="dom-CueRangeCallback-handleEvent">handleEvent</span>(in DOMString id);
-};--></pre>
-
   <p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>, <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code>, and <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code>, apply to all <a href=#media-element title="media element">media elements</a>. They are defined in
   this section.</p>
 
@@ -25060,104 +25051,7 @@
   </div>
 
 
-<!--v2CUERANGE
-  <h5>Cue ranges</h5>
 
-  <dl class="domintro">
-
-   <dt><var title="">media</var> . <code title="dom-media-addCueRange">addCueRange</code>(<var title="">className</var>, <var title="">id</var>, <var title="">start</var>, <var title="">end</var>, <var title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var title="">exitCallback</var>)</dt>
-
-   <dd>
-
-    <p>Registers a range of time, given in seconds, and a pair of
-    callbacks, the first of which will be invoked when the
-    <span>current playback position</span> enters the range, and the
-    second of which will be invoked when it exits the range. The
-    callbacks are invoked with the given ID as their argument.</p>
-
-    <p>In addition, if the <var title="">pauseOnExit</var> argument is
-    true, then playback will pause when it reaches the end of the
-    range.</p>
-
-   </dd>
-
-   <dt><var title="">media</var> . <code title="dom-media-removeCueRange">removeCueRange</code>(<var title="">className</var>)</dt>
-
-   <dd>
-
-    <p>Removes all the ranges that were registered with the given
-    class name.</p>
-
-   </dd>
-
-  </dl>
-
-  <div class="impl">
-
-  <p><span title="media element">Media elements</span> have a set of
-  <dfn title="cue range">cue ranges</dfn>. Each cue range is made up
-  of the following information:</p>
-
-  <dl>
-
-   <dt>A class name</dt>
-   <dd>A group of related ranges can be given the same class name so
-   that they can all be removed at the same time.</dd>
-
-   <dt>An identifier</dt>
-   <dd>A string can be assigned to each cue range for identification
-   by script. The string need not be unique and can contain any
-   value.</dd>
-
-   <dt>A start time</dt>
-   <dt>An end time</dt>
-   <dd>The actual time range, using the same timeline as the
-   <span>media resource</span> itself.</dd>
-
-   <dt>A "pause" boolean</dt>
-   <dd>A flag indicating whether to pause playback on exit.</dd>
-
-   <dt>An "enter" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> enters the range.</dd>
-
-   <dt>An "exit" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> exits the range.</dd>
-
-   <dt>An "active" boolean</dt>
-   <dd>A flag indicating whether the range is active or not.</dd>
-
-  </dl>
-
-  <p>The <dfn title="dom-media-addCueRange"><code>addCueRange(<var
-  title="">className</var>, <var title="">id</var>, <var
-  title="">start</var>, <var title="">end</var>, <var
-  title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var
-  title="">exitCallback</var>)</code></dfn> method must, when called,
-  add a <span>cue range</span> to the <span>media element</span>, that
-  cue range having the class name <var title="">className</var>, the
-  identifier <var title="">id</var>, the start time <var
-  title="">start</var> (in seconds), the end time <var
-  title="">end</var> (in seconds), the "pause" boolean with the same
-  value as <var title="">pauseOnExit</var>, the "enter" callback <var
-  title="">enterCallback</var>, the "exit" callback <var
-  title="">exitCallback</var>, and an "active" boolean that is true if
-  the <span>current playback position</span> is equal to or greater
-  than the start time and less than the end time, and false
-  otherwise.</p>
-
-  <p>The <dfn
-  title="dom-media-removeCueRanges"><code>removeCueRanges(<var
-  title="">className</var>)</code></dfn> method must, when called,
-  remove all the <span title="cue range">cue ranges</span> of the
-  <span>media element</span> which have the class name <var
-  title="">className</var>.</p>
-
-  </div>
--->
-
-
   <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the media resource</h5>
 
   <dl class=domintro><dt><var title="">media</var> . <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code></dt>
@@ -25506,7 +25400,7 @@
   certain ranges to be skipped over as the user agent rushes ahead to
   "catch up".)</p>
 
-  <ol><!--v2CUERANGE
+  <ol><!--XXXTT - the text below is wrong, but we need to do something similar, updating the timed tracks, pausing if necessary (more below)
    <li><p>Let <var title="">current ranges</var> be an ordered list of
    <span title="cue range">cue ranges</span>, initialized to contain
    all the <span title="cue range">cue ranges</span> of the
@@ -25539,7 +25433,7 @@
    not any more frequent than the user agent can comfortably handle
    while decoding the video.</li>
 
-<!--v2CUERANGE [beware - - nested comments]
+<!--XXXTT [beware - - nested comments]
    <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

Modified: source
===================================================================
--- source	2010-05-04 02:00:44 UTC (rev 5069)
+++ source	2010-05-04 04:21:19 UTC (rev 5070)
@@ -25319,22 +25319,13 @@
            attribute boolean <span title="dom-media-loop">loop</span>;
   void <span title="dom-media-play">play</span>();
   void <span title="dom-media-pause">pause</span>();
-<!--v2CUERANGE
-  // cue ranges
-  void <span title="dom-media-addCueRange">addCueRange</span>(in DOMString className, in DOMString id, in float start, in float end, in boolean pauseOnExit, in <span>CueRangeCallback</span> enterCallback, in <span>CueRangeCallback</span> exitCallback);
-  void <span title="dom-media-removeCueRanges">removeCueRanges</span>(in DOMString className);
--->
+
   // controls
            attribute boolean <span title="dom-media-controls">controls</span>;
            attribute float <span title="dom-media-volume">volume</span>;
            attribute boolean <span title="dom-media-muted">muted</span>;
-};<!--v2CUERANGE
+};</pre>
 
-[Callback=FunctionOnly, NoInterfaceObject]
-interface <dfn>CueRangeCallback</dfn> {
-  void <span title="dom-CueRangeCallback-handleEvent">handleEvent</span>(in DOMString id);
-};--></pre>
-
   <p>The <dfn>media element attributes</dfn>, <code
   title="attr-media-src">src</code>, <code
   title="attr-media-preload">preload</code>, <code
@@ -27120,104 +27111,7 @@
   </div>
 
 
-<!--v2CUERANGE
-  <h5>Cue ranges</h5>
 
-  <dl class="domintro">
-
-   <dt><var title="">media</var> . <code title="dom-media-addCueRange">addCueRange</code>(<var title="">className</var>, <var title="">id</var>, <var title="">start</var>, <var title="">end</var>, <var title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var title="">exitCallback</var>)</dt>
-
-   <dd>
-
-    <p>Registers a range of time, given in seconds, and a pair of
-    callbacks, the first of which will be invoked when the
-    <span>current playback position</span> enters the range, and the
-    second of which will be invoked when it exits the range. The
-    callbacks are invoked with the given ID as their argument.</p>
-
-    <p>In addition, if the <var title="">pauseOnExit</var> argument is
-    true, then playback will pause when it reaches the end of the
-    range.</p>
-
-   </dd>
-
-   <dt><var title="">media</var> . <code title="dom-media-removeCueRange">removeCueRange</code>(<var title="">className</var>)</dt>
-
-   <dd>
-
-    <p>Removes all the ranges that were registered with the given
-    class name.</p>
-
-   </dd>
-
-  </dl>
-
-  <div class="impl">
-
-  <p><span title="media element">Media elements</span> have a set of
-  <dfn title="cue range">cue ranges</dfn>. Each cue range is made up
-  of the following information:</p>
-
-  <dl>
-
-   <dt>A class name</dt>
-   <dd>A group of related ranges can be given the same class name so
-   that they can all be removed at the same time.</dd>
-
-   <dt>An identifier</dt>
-   <dd>A string can be assigned to each cue range for identification
-   by script. The string need not be unique and can contain any
-   value.</dd>
-
-   <dt>A start time</dt>
-   <dt>An end time</dt>
-   <dd>The actual time range, using the same timeline as the
-   <span>media resource</span> itself.</dd>
-
-   <dt>A "pause" boolean</dt>
-   <dd>A flag indicating whether to pause playback on exit.</dd>
-
-   <dt>An "enter" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> enters the range.</dd>
-
-   <dt>An "exit" callback</dt>
-   <dd>A callback that is called when the <span>current playback
-   position</span> exits the range.</dd>
-
-   <dt>An "active" boolean</dt>
-   <dd>A flag indicating whether the range is active or not.</dd>
-
-  </dl>
-
-  <p>The <dfn title="dom-media-addCueRange"><code>addCueRange(<var
-  title="">className</var>, <var title="">id</var>, <var
-  title="">start</var>, <var title="">end</var>, <var
-  title="">pauseOnExit</var>, <var title="">enterCallback</var>, <var
-  title="">exitCallback</var>)</code></dfn> method must, when called,
-  add a <span>cue range</span> to the <span>media element</span>, that
-  cue range having the class name <var title="">className</var>, the
-  identifier <var title="">id</var>, the start time <var
-  title="">start</var> (in seconds), the end time <var
-  title="">end</var> (in seconds), the "pause" boolean with the same
-  value as <var title="">pauseOnExit</var>, the "enter" callback <var
-  title="">enterCallback</var>, the "exit" callback <var
-  title="">exitCallback</var>, and an "active" boolean that is true if
-  the <span>current playback position</span> is equal to or greater
-  than the start time and less than the end time, and false
-  otherwise.</p>
-
-  <p>The <dfn
-  title="dom-media-removeCueRanges"><code>removeCueRanges(<var
-  title="">className</var>)</code></dfn> method must, when called,
-  remove all the <span title="cue range">cue ranges</span> of the
-  <span>media element</span> which have the class name <var
-  title="">className</var>.</p>
-
-  </div>
--->
-
-
   <h5>Playing the media resource</h5>
 
   <dl class="domintro">
@@ -27647,7 +27541,7 @@
 
   <ol>
 
-<!--v2CUERANGE
+<!--XXXTT - the text below is wrong, but we need to do something similar, updating the timed tracks, pausing if necessary (more below)
    <li><p>Let <var title="">current ranges</var> be an ordered list of
    <span title="cue range">cue ranges</span>, initialized to contain
    all the <span title="cue range">cue ranges</span> of the
@@ -27683,7 +27577,7 @@
    not any more frequent than the user agent can comfortably handle
    while decoding the video.</p></li>
 
-<!--v2CUERANGE [beware - - nested comments]
+<!--XXXTT [beware - - nested comments]
    <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




More information about the Commit-Watchers mailing list