- From: poot <cvsmail@w3.org>
- Date: Mon, 1 Dec 2008 15:56:27 +0900 (JST)
- To: public-html-diffs@w3.org
Drop HAVE_SOME_DATA. (credit: ec) (whatwg r2489) HAVE_ENOUGH_DATA http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#dom-media-have_enough_data Status of this document http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#status-of-this-document HTMLMediaElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#htmlmediaelement HAVE_CURRENT_DATA http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#dom-media-have_current_data If the prevous ready state was HAVE_METADATA and the new ready state is HAVE_CURRENT_DATA http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#handling-first-frame-available A vocabulary and associated APIs for HTML and XHTML http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#a-vocabulary-and-associated-apis-for-html-and-xhtml HAVE_FUTURE_DATA http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#dom-media-have_future_data readyState http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#dom-media-readystate potentially playing http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#potentially-playing If this is the first time this occurs for this media element since the load() algorithm was last invoked, the user agent must queue a task to fire a simple event called loadeddata at the element. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#fire-loadeddata Editor's Draft 1 December 2008 http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#editor-s-draft-date-zzz-9-june-2008 ended playback http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#ended-playback HAVE_METADATA http://people.w3.org/mike/diffs/html5/spec/Overview.1.1660.html#dom-media-have_metadata http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1659&r2=1.1660&f=h http://html5.org/tools/web-apps-tracker?from=2488&to=2489 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1659 retrieving revision 1.1660 diff -u -d -r1.1659 -r1.1660 --- Overview.html 30 Nov 2008 21:43:45 -0000 1.1659 +++ Overview.html 1 Dec 2008 06:53:34 -0000 1.1660 @@ -8,7 +8,7 @@ <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <h1>HTML 5</h1> <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->30 November 2008</h2> + <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->1 December 2008</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd> @@ -97,7 +97,7 @@ specification's progress along the W3C Recommendation track. <!--ZZZ:--> - This specification is the 30 November 2008 <!--ZZZ "Working Draft"-->Editor's Draft. + This specification is the 1 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -13805,10 +13805,9 @@ // ready state const unsigned short <a href=#dom-media-have_nothing title=dom-media-HAVE_NOTHING>HAVE_NOTHING</a> = 0; const unsigned short <a href=#dom-media-have_metadata title=dom-media-HAVE_METADATA>HAVE_METADATA</a> = 1; - const unsigned short <a href=#dom-media-have_some_data title=dom-media-HAVE_SOME_DATA>HAVE_SOME_DATA</a> = 2; - const unsigned short <a href=#dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA>HAVE_CURRENT_DATA</a> = 3; - const unsigned short <a href=#dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA>HAVE_FUTURE_DATA</a> = 4; - const unsigned short <a href=#dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA>HAVE_ENOUGH_DATA</a> = 5; + const unsigned short <a href=#dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA>HAVE_CURRENT_DATA</a> = 2; + const unsigned short <a href=#dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA>HAVE_FUTURE_DATA</a> = 3; + const unsigned short <a href=#dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA>HAVE_ENOUGH_DATA</a> = 4; readonly attribute unsigned short <a href=#dom-media-readystate title=dom-media-readyState>readyState</a>; readonly attribute boolean <a href=#dom-media-seeking title=dom-media-seeking>seeking</a>; @@ -14563,39 +14562,34 @@ <dd>Enough of the resource has been obtained that the metadata attributes are initialized (e.g. the length is known). The API will - no longer raise an exception when seeking.</dd> - - <dt><dfn id=dom-media-have_some_data title=dom-media-HAVE_SOME_DATA><code>HAVE_SOME_DATA</code></dfn> (numeric value 2)</dt> - - <dd>Data for the immediate <a href=#current-playback-position>current playback position</a> - is not available, but there is at least one playback position for - which the <i>ready state</i> would have a value of <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> or - greater.</dd> + no longer raise an exception when seeking. No video data is + available for the immediate <a href=#current-playback-position>current playback position</a>, + </dd> - <dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 3)</dt> + <dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt> <dd>Data for the immediate <a href=#current-playback-position>current playback position</a> is available, but not enough data is available that the user agent could successfully advance the <a href=#current-playback-position>current playback - position</a> at all without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state. For + position</a> at all without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state. For example, in video this corresponds to the user agent having data from the current frame, but not the next frame.</dd> - <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 4)</dt> + <dt><dfn id=dom-media-have_future_data title=dom-media-HAVE_FUTURE_DATA><code>HAVE_FUTURE_DATA</code></dfn> (numeric value 3)</dt> <dd>Data for the immediate <a href=#current-playback-position>current playback position</a> is available, as well as enough data for the user agent to advance the <a href=#current-playback-position>current playback position</a> at least a little - without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state. For + without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state. For example, In video this corresponds to the user agent having data for at least the current frame and the next frame.</dd> - <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 5)</dt> + <dt><dfn id=dom-media-have_enough_data title=dom-media-HAVE_ENOUGH_DATA><code>HAVE_ENOUGH_DATA</code></dfn> (numeric value 4)</dt> <dd>Data for the immediate <a href=#current-playback-position>current playback position</a> is available, as well as enough data for the user agent to advance the <a href=#current-playback-position>current playback position</a> at least a little - without immediately reverting to the <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> state, and, + without immediately reverting to the <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> state, and, in addition, the user agent estimates that data is being fetched at a rate where the <a href=#current-playback-position>current playback position</a>, if it were to advance at the rate given by the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code> @@ -14615,9 +14609,9 @@ <!-- going up to current for the first time --> <dt id=handling-first-frame-available>If the prevous ready state - was <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> or - <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code>, and + was <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> and the new ready state is <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code></dt> + <dd> <p id=fire-loadeddata>If this is the first time this occurs for @@ -14672,7 +14666,7 @@ </dl><p class=note>It is possible for the ready state of a media element to jump between these states discontinuously. For example, - the state of a media element can jump straight from <code title=dom-media-HAVE_SOME_DATA><a href=#dom-media-have_some_data>HAVE_SOME_DATA</a></code> to <code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code> without + the state of a media element can jump straight from <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> to <code title=dom-media-HAVE_ENOUGH_DATA><a href=#dom-media-have_enough_data>HAVE_ENOUGH_DATA</a></code> without passing through the <code title=dom-media-HAVE_CURRENT_DATA><a href=#dom-media-have_current_data>HAVE_CURRENT_DATA</a></code> and <code title=dom-media-HAVE_FUTURE_DATA><a href=#dom-media-have_future_data>HAVE_FUTURE_DATA</a></code> states.<p>The <dfn id=dom-media-readystate title=dom-media-readyState><code>readyState</code></dfn> DOM @@ -14733,7 +14727,7 @@ 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 <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>HAD_METADATA</a></code> or greater, and + 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 the <a href=#current-playback-position>current playback position</a> is the end of the <a href=#media-resource>media resource</a>, and the <a href=#media-element>media element</a> does not have a <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code> attribute
Received on Monday, 1 December 2008 06:57:06 UTC