[whatwg] Timing for the poster image appearing for <video>

Philip Jägenstedt philipj at opera.com
Thu Jun 26 18:47:53 PDT 2008


The current spec allows implementing it like this, but I support the
change as it takes away that unnecessary ambiguity.

On Thu, 2008-06-26 at 18:03 -0700, Adele Peterson wrote:
> Hi all,
> 
> The spec currently states that the poster image specified in the  
> poster attribute for <video> can show up either when no video data is  
> available or when a video element is paused and the current playback  
> position is the first frame of video.
> 
> The second situation seems like it would allow the poster image to be  
> displayed when a user rewinds the video back to the beginning while  
> paused.  I think it would make more sense to just allow the poster  
> image to be displayed if the readyState is less than CAN_PLAY, instead  
> of considering the paused state.  The paused state will always be true  
> when the readyState is less than CAN_PLAY, but with this rule, the  
> poster image won't randomly show up in other situations where the  
> video is paused and you're at the beginning.
> 
> Thanks,
> 	Adele
-- 
Philip Jägenstedt
Opera Software




More information about the whatwg mailing list