- From: poot <cvsmail@w3.org>
- Date: Tue, 14 Oct 2008 06:08:08 +0900 (JST)
- To: public-html-diffs@w3.org
Change 'actively playing' to 'potentially playing' to be more accurate. (whatwg r2327) 4.8.10.8 Playing the media resource http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#playing-the-media-resource When the defaultPlaybackRate or playbackRate attributes change value (either by being set by script or by being changed directly by the user agent, e.g. in response to user control) the user agent must queue a task to fire a simple event called ratechange at the media element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#rateUpdate When a media element that is potentially playing stops playing because its readyState attribute changes to a value lower than CAN_PLAY, without the element having ended playback, or playback having stopped due to errors, or playback having paused for user interaction, or the seeking algorithm being invoked, the user agent must queue a task to fire a simple event called timeupdate at the element, and queue a task to fire a simple event called waiting at the element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#fire-waiting-when-waiting pause() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-media-pause poster http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-video-poster HTMLAudioElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#htmlaudioelement playbackRate http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-media-playbackrate paused for user interaction http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#paused-for-user-interaction removeCueRanges(className) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-media-removecueranges When a media element is potentially playing and its Document is an active document, its current playback position must increase monotonically at playbackRate units of media time per unit time of wall clock time. If this value is not 1, the user agent may apply pitch adjustments to any audio component of the media resource. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#media-playback played http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-media-played potentially playing http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#potentially-playing Audio() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#dom-audio The user agent must queue a task to fire a simple event called timeupdate at the element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1500.html#seekUpdate http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1499&r2=1.1500&f=h http://html5.org/tools/web-apps-tracker?from=2326&to=2327 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1499 retrieving revision 1.1500 diff -u -d -r1.1499 -r1.1500 --- Overview.html 13 Oct 2008 20:53:22 -0000 1.1499 +++ Overview.html 13 Oct 2008 21:05:33 -0000 1.1500 @@ -13140,7 +13140,7 @@ element represents the frame of video corresponding to the <a href=#current-playback-position title="current playback position">current playback position</a>, or, if that is not yet available (e.g. because the video is seeking or buffering), the last frame of the video to have been - rendered.<p>When a <code><a href=#video>video</a></code> element is <a href=#actively-playing>actively + rendered.<p>When a <code><a href=#video>video</a></code> element is <a href=#potentially-playing>potentially playing</a>, it represents the frame of video at the continuously increasing <a href=#current-playback-position title="current playback position">"current" position</a>. When the <a href=#current-playback-position>current playback position</a> @@ -13150,7 +13150,7 @@ associated with the video must, if played, be played synchronized with the <a href=#current-playback-position>current playback position</a>, at the specified <a href=#dom-media-volume title=dom-media-volume>volume</a> with the specified - <a href=#dom-media-muted title=dom-media-muted>mute state</a>.<p>When a <code><a href=#video>video</a></code> element is neither <a href=#actively-playing>actively + <a href=#dom-media-muted title=dom-media-muted>mute state</a>.<p>When a <code><a href=#video>video</a></code> element is neither <a href=#potentially-playing>potentially playing</a> nor <a href=#dom-media-paused title=dom-media-paused>paused</a> (e.g. when seeking or stalled), the element represents the last frame of the video to have been rendered.<p class=note>Which frame in a video stream corresponds to a @@ -13297,9 +13297,9 @@ alternative media streams and/or to embed accessibility aids (such as transcriptions) into their media streams.<p>The <code><a href=#audio>audio</a></code> element is a <a href=#media-element>media element</a> whose <a href=#media-data>media data</a> is ostensibly audio data.<p>The <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>, <code title=attr-media-start><a href=#attr-media-start>start</a></code>, <code title=attr-media-loopstart><a href=#attr-media-loopstart>loopstart</a></code>, <code title=attr-media-loopend><a href=#attr-media-loopend>loopend</a></code>, <code title=attr-media-end><a href=#attr-media-end>end</a></code>, <code title=attr-media-playcount><a href=#attr-media-playcount>playcount</a></code>, and <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code> attributes are <a href=#media-element-attributes title="media element attributes">the attributes common to all media - elements</a>.<p>When an <code><a href=#audio>audio</a></code> element is <a href=#actively-playing>actively + elements</a>.<p>When an <code><a href=#audio>audio</a></code> element is <a href=#potentially-playing>potentially playing</a>, it must have its audio data played synchronized with - the <a href=#current-playback-position>current playback position</a>, at the specified <a href=#dom-media-volume title=dom-media-volume>volume</a> with the specified <a href=#dom-media-muted title=dom-media-muted>mute state</a>.<p>When an <code><a href=#audio>audio</a></code> element is not <a href=#actively-playing>actively + the <a href=#current-playback-position>current playback position</a>, at the specified <a href=#dom-media-volume title=dom-media-volume>volume</a> with the specified <a href=#dom-media-muted title=dom-media-muted>mute state</a>.<p>When an <code><a href=#audio>audio</a></code> element is not <a href=#potentially-playing>potentially playing</a>, audio must not play for the element.<p>Two constructors are provided for creating <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> objects (in addition to the factory methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio()</code></dfn> and <dfn id=dom-audio-u title=dom-Audio-u><code>Audio(<var title="">url</var>)</code></dfn>. When invoked as constructors, @@ -14322,7 +14322,7 @@ remove all the <a href=#cue-range title="cue range">cue ranges</a> of the <a href=#media-element>media element</a> which have the class name <var title="">className</var>.<h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the media resource</h5><p>The <dfn id=dom-media-paused title=dom-media-paused><code>paused</code></dfn> attribute represents whether the <a href=#media-element>media element</a> is - paused or not. The attribute must initially be true.<p>A <a href=#media-element>media element</a> is said to be <dfn id=actively-playing>actively + paused or not. The attribute must initially be true.<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> attribute is false, the <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute is either <code title=dom-media-CAN_PLAY><a href=#dom-media-can_play>CAN_PLAY</a></code> or <code title=dom-media-CAN_PLAY_THROUGH><a href=#dom-media-can_play_through>CAN_PLAY_THROUGH</a></code>, the @@ -14349,11 +14349,11 @@ where the user has to make a selection for the resource to continue.<p>It is possible for a <a href=#media-element>media element</a> to have both <a href=#ended-playback>ended playback</a> and <a href=#paused-for-user-interaction>paused for user - interaction</a> at the same time.<p>When a <a href=#media-element>media element</a> that is <a href=#actively-playing>actively + interaction</a> at the same time.<p>When a <a href=#media-element>media element</a> that is <a href=#potentially-playing>potentially playing</a> stops playing because it has <a href=#paused-for-user-interaction>paused for user interaction</a>, the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-timeupdate><a href=#event-timeupdate>timeupdate</a></code> at the element.<p id=fire-waiting-when-waiting>When a <a href=#media-element>media element</a> - that is <a href=#actively-playing>actively playing</a> stops playing because its + that is <a href=#potentially-playing>potentially playing</a> stops playing because its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute changes to a value lower than <code title=dom-media-CAN_PLAY><a href=#dom-media-can_play>CAN_PLAY</a></code>, without the element having <a href=#ended-playback>ended playback</a>, or playback having <a href=#stopped-due-to-errors>stopped @@ -14396,7 +14396,7 @@ on setting, if the new value is 0.0, a <code>NOT_SUPPORTED_ERR</code> exception must be raised instead of the value being changed. Otherwise, the playback must change speed - (if the element is <a href=#actively-playing>actively playing</a>). It must initially + (if the element is <a href=#potentially-playing>potentially playing</a>). It must initially have the value 1.0.<p id=rateUpdate>When the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code> or <code title=dom-media-playbackRate><a href=#dom-media-playbackrate>playbackRate</a></code> attributes change value (either by being set by script or by being changed @@ -14408,7 +14408,7 @@ <code>TimeRanges</code> object</a> that represents the ranges of the <a href=#media-resource>media resource</a>, if any, that the user agent has so far rendered, at the time the attribute is evaluated.</p><hr><p id=media-playback>When a <a href=#media-element>media element</a> is - <a href=#actively-playing>actively playing</a> and its <code>Document</code> is an + <a href=#potentially-playing>potentially playing</a> and its <code>Document</code> is an <a href=#active-document>active document</a>, its <a href=#current-playback-position>current playback position</a> must increase monotonically at <code title=dom-media-playbackRate><a href=#dom-media-playbackrate>playbackRate</a></code> units of media time per unit time of wall clock time. If this value is not 1, the @@ -14561,7 +14561,7 @@ <a href=#media-element>media element</a>'s <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute has a value other than <a href=#dom-media-empty title=dom-media-EMPTY>EMPTY</a> then the user agent must act as if the <code title=dom-media-pause><a href=#dom-media-pause>pause()</a></code> method had been invoked.<p><a href=#media-element title="media element">Media elements</a> that are - <a href=#actively-playing>actively playing</a> while not <span>in a + <a href=#potentially-playing>potentially playing</a> while not <span>in a <code>Document</code></span><!-- XXX xref --> must not play any video, but should play any audio component. Media elements must not stop playing just because all references to them have been removed; @@ -14611,7 +14611,7 @@ <li id=seekUpdate><p>The user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-timeupdate><a href=#event-timeupdate>timeupdate</a></code> at the element.</li> - <li><p>If the <a href=#media-element>media element</a> was <a href=#actively-playing>actively + <li><p>If the <a href=#media-element>media element</a> was <a href=#potentially-playing>potentially playing</a> immediately before it started seeking, but seeking caused its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute to change to a value lower than <code title=dom-media-CAN_PLAY><a href=#dom-media-can_play>CAN_PLAY</a></code>, the user agent must
Received on Monday, 13 October 2008 21:08:46 UTC