- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 04 May 2010 04:21:11 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19704 Modified Files: Overview.html Log Message: remove old cuerange stuff (whatwg r5070) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4071 retrieving revision 1.4072 diff -u -d -r1.4071 -r1.4072 --- Overview.html 4 May 2010 02:00:31 -0000 1.4071 +++ Overview.html 4 May 2010 04:21:05 -0000 1.4072 @@ -20403,21 +20403,12 @@ 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 - -[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 +};</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><!-- proposed v2 (actually v3!) features: * frame forward / backwards / step(n) while paused * hasAudio, hasVideo, hasCaptions, etc @@ -21792,102 +21783,7 @@ IDL attribute must <a href="#reflect">reflect</a> the content attribute of the same name.</p> - </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><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code></dt> + </div><h5 id="playing-the-media-resource"><span class="secno">4.8.10.8 </span>Playing the media resource</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="domintro"><dt><var title="">media</var> . <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code></dt> <dd> @@ -22233,7 +22129,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 @@ -22266,7 +22162,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
Received on Tuesday, 4 May 2010 04:21:12 UTC