- From: poot <cvsmail@w3.org>
- Date: Wed, 12 Jan 2011 14:21:41 -0500
- To: public-html-diffs@w3.org
hixie: <video> sometimes has no video data. Handle that. (whatwg r5780) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4642&r2=1.4643&f=h http://html5.org/tools/web-apps-tracker?from=5779&to=5780 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4642 retrieving revision 1.4643 diff -u -d -r1.4642 -r1.4643 --- Overview.html 12 Jan 2011 06:07:46 -0000 1.4642 +++ Overview.html 12 Jan 2011 19:19:25 -0000 1.4643 @@ -21267,7 +21267,9 @@ <hr><p>When no video data is available (the element's <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute is either <code title="dom-media-HAVE_NOTHING"><a href="#dom-media-have_nothing">HAVE_NOTHING</a></code>, or <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> but no video - data has yet been obtained at all), the <code><a href="#video">video</a></code> element + data has yet been obtained at all, or the element's <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> attribute is any + subsequent value but the <a href="#media-resource">media resource</a> does not have a + video channel), the <code><a href="#video">video</a></code> element <a href="#represents">represents</a> either the <a href="#poster-frame">poster frame</a>, or nothing.</p> @@ -21282,25 +21284,29 @@ be preferred over nothing, but the <a href="#poster-frame">poster frame</a> should not be shown again after a frame of video has been shown.</p> - <p>When a <code><a href="#video">video</a></code> element is <a href="#dom-media-paused" title="dom-media-paused">paused</a> at any other position, the - element <a href="#represents">represents</a> the frame of video corresponding to - the <a href="#current-playback-position" title="current playback position">current playback + <p>When a <code><a href="#video">video</a></code> element is <a href="#dom-media-paused" title="dom-media-paused">paused</a> at any other position, and + the <a href="#media-resource">media resource</a> has a video channel, the element + <a href="#represents">represents</a> 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> - <p>When a <code><a href="#video">video</a></code> element is <a href="#potentially-playing">potentially + <p>When a <code><a href="#video">video</a></code> element whose <a href="#media-resource">media + resource</a> has a video channel is <a href="#potentially-playing">potentially playing</a>, it <a href="#represents">represents</a> 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> changes such that the last frame rendered is no longer the frame corresponding to the <a href="#current-playback-position">current playback - position</a> in the video, the new frame must be - rendered. Similarly, any audio 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> + position</a> in the video, the new frame must be rendered. - <p>When a <code><a href="#video">video</a></code> element is neither <a href="#potentially-playing">potentially + Similarly, any audio associated with the <a href="#media-resource">media resource</a> + 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> + + <p>When a <code><a href="#video">video</a></code> element whose <a href="#media-resource">media + resource</a> has a video channel 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 <a href="#represents">represents</a> the last frame of the video to have been rendered.</p>
Received on Wednesday, 12 January 2011 19:21:43 UTC