[Bug 15140] The video element's poster attribute requires clarification in relation to precedence

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15140

--- Comment #4 from Philip J <philipj@opera.com> 2011-12-14 08:58:57 UTC ---
I'll let Ian answer for himself, but here are some nits:

"When a video element is paused and the current playback position is the first
frame of video, the element represents the poster frame, unless a frame of
video has already been shown, in which case the element represents the frame of
video corresponding to the current playback position."

This doesn't cover the case where you are paused at the beginning of the video
and seek to 0, which will cause the first video frame to be shown in both Opera
and Firefox, as any seeking shows the video frame.
(http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1278)

It also isn't clearly defined that the "unless a frame of video has already
been shown" state is reset when loading a new resource (in the resource
selection algorithm).

"The intrinsic width of a video element's playback area is the intrinsic width
of the video resource, if that is available; otherwise it is the intrinsic
width of the poster frame, if that is available; otherwise it is 300 CSS
pixels."

This isn't accurate, the intrinsic size should be the size of the poster if the
poster is showing and the size of the video otherwise. The above definition
would cause a video with a poster showing to take the size of the video as soon
as the video as reach HAVE_CURRENT_DATA. Both Opera and Firefox use the size of
the poster until the video is shown.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 14 December 2011 08:59:02 UTC