[whatwg] Interpretation of video poster attribute
simonp at opera.com
Thu Jun 12 05:25:44 PDT 2008
On Thu, 12 Jun 2008 13:22:40 +0200, Chris Double
<chris.double at double.co.nz> wrote:
> On Thu, Jun 12, 2008 at 10:36 PM, Philip Jägenstedt <philipj at opera.com>
>> This is just to provide sane defaults for authors who trust the browser
>> to do the right things in absence of width/height. Safari already uses
>> the intrinsic dimensions of the poster image and then resizes to the
>> intrinsic dimensions of the video, which is exactly the behavior we want
>> to implement.
> This is the behaviour I was planning to implement for poster too btw.
> As a user of the video element it seemed the most logical to me.
> In the absence of a poster attribute does Safari load the first frame
> of the video and display that?
> I seem to recall it did when using a
> quicktime movie but not with a Theora movie using the XiphQT plugin.
> Is displaying the first frame of the video something that's useful?
Well, I think it is. :-)
> the Firefox implementation I display the first frame, but I should be
> displaying nothing, right?
The spec says:
When a video element is paused and the current playback position is the
first frame of video, the element represents either the frame of video
corresponding to the current playback position or the image given by
the poster attribute, at the discretion of the user agent.
More information about the whatwg