[whatwg] Timing for the poster image appearing for <video>
Adele Peterson
adele at apple.com
Thu Jun 26 18:03:30 PDT 2008
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
More information about the whatwg
mailing list