[html5] r5780 - [giow] (1) <video> sometimes has no video data. Handle that. Fixing http://www.w [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jan 12 11:19:21 PST 2011
Author: ianh
Date: 2011-01-12 11:19:20 -0800 (Wed, 12 Jan 2011)
New Revision: 5780
Modified:
complete.html
index
source
Log:
[giow] (1) <video> sometimes has no video data. Handle that.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11139
Modified: complete.html
===================================================================
--- complete.html 2011-01-12 06:07:39 UTC (rev 5779)
+++ complete.html 2011-01-12 19:19:20 UTC (rev 5780)
@@ -24618,7 +24618,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>
@@ -24633,25 +24635,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>
Modified: index
===================================================================
--- index 2011-01-12 06:07:39 UTC (rev 5779)
+++ index 2011-01-12 19:19:20 UTC (rev 5780)
@@ -24600,7 +24600,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>
@@ -24615,25 +24617,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>
Modified: source
===================================================================
--- source 2011-01-12 06:07:39 UTC (rev 5779)
+++ source 2011-01-12 19:19:20 UTC (rev 5780)
@@ -26455,7 +26455,10 @@
title="dom-media-readyState">readyState</code> attribute is either
<code title="dom-media-HAVE_NOTHING">HAVE_NOTHING</code>, or <code
title="dom-media-HAVE_METADATA">HAVE_METADATA</code> but no video
- data has yet been obtained at all), the <code>video</code> element
+ data has yet been obtained at all, or the element's <code
+ title="dom-media-readyState">readyState</code> attribute is any
+ subsequent value but the <span>media resource</span> does not have a
+ video channel), the <code>video</code> element
<span>represents</span> either the <span>poster frame</span>, or
nothing.</p>
@@ -26472,27 +26475,31 @@
not be shown again after a frame of video has been shown.</p>
<p>When a <code>video</code> element is <span
- title="dom-media-paused">paused</span> at any other position, the
- element <span>represents</span> the frame of video corresponding to
- the <span title="current playback position">current playback
+ title="dom-media-paused">paused</span> at any other position, and
+ the <span>media resource</span> has a video channel, the element
+ <span>represents</span> the frame of video corresponding to the
+ <span title="current playback position">current playback
position</span>, 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>video</code> element is <span>potentially
+ <p>When a <code>video</code> element whose <span>media
+ resource</span> has a video channel is <span>potentially
playing</span>, it <span>represents</span> the frame of video at the
continuously increasing <span title="current playback
position">"current" position</span>. When the <span>current playback
position</span> changes such that the last frame rendered is no
longer the frame corresponding to the <span>current playback
- position</span> in the video, the new frame must be
- rendered. Similarly, any audio associated with the video must, if
- played, be played synchronized with the <span>current playback
- position</span>, at the specified <span
+ position</span> in the video, the new frame must be rendered.
+
+ Similarly, any audio associated with the <span>media resource</span>
+ must, if played, be played synchronized with the <span>current
+ playback position</span>, at the specified <span
title="dom-media-volume">volume</span> with the specified <span
title="dom-media-muted">mute state</span>.</p>
- <p>When a <code>video</code> element is neither <span>potentially
+ <p>When a <code>video</code> element whose <span>media
+ resource</span> has a video channel is neither <span>potentially
playing</span> nor <span title="dom-media-paused">paused</span>
(e.g. when seeking or stalled), the element <span>represents</span>
the last frame of the video to have been rendered.</p>
More information about the Commit-Watchers
mailing list