[Bug 12465] Can it be added that the poster image (if defined) should continue to show until video is played for the first time? Safari currently shows the first frame of the video as soon as it's available (when preloading) while other browsers continue to show the

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12465

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #2 from Philip Jägenstedt <philipj@opera.com> 2011-04-10 19:35:08 UTC ---
I'd like to see this standardized too. In Opera, the poster is shown if and
only if (poster_attr && !poster_failed && !(played_or_seeked && frame_decoded),
where the states mean:

poster_attr: poster attribute is set
poster_failed: decoding the poster as an image failed
played_or_seeked: a play or seek has been requested
frame_decoded: a frame has been decoded (any frame)

(Obviously, it's also necessary to have decoded the poster image, but whenever
the conditions are above are met we're "trying" to show the poster image, so it
either eventually shows or the state switches to poster_failed.

All state is reset at the beginning of the resource selection algorithm.

In addition, whever the poster image is showing, the intrinsic size of the
element is the size of the poster. In other words, the element is never resized
to the size of the video while the poster image is still showing.

Needless to say, I'd be happy to standardize exactly what we already do :)

-- 
Configure bugmail: http://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 Sunday, 10 April 2011 19:35:11 UTC