<div class="gmail_quote"><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Tue, Jun 3, 2008 at 7:36 AM, Philip Jägenstedt <<a href="mailto:philipj@opera.com" target="_blank">philipj@opera.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
<br>
I'm a bit puzzled about how to interpret the poster attribute on<br>
HTMLVideoElement:<br>
<br>
"The poster attribute gives the address of an image file that the user<br>
agent can show while no video data is available. The attribute, if<br>
present, must contain a URI (or IRI)."<br>
<br>
Is the intention that this image should be stretched to the size of the<br>
video element, or that it should be centered in the frame? If the width<br>
and height attributes are not given, should the video element initially<br>
be given the size of the poster image, or should the user agent wait<br>
until it has the dimensions of the video (thereby making the poster<br>
useless)?<br>
<br>
In short, what is the intended use of poster?<br>
<font color="#888888"><br>
-- Philip Jägenstedt<br>
</font></blockquote></div></div><div><br>Just for similar-implementation-ideas, flvplayer simply aligns the poster image to the upper-left of the object element, with no scaling at all.  If width and height are not given, it simply doesn't display at all.<br>

</div></div><br>Unless there's already some alternate intent, I suggest <video> scale to the poster's size if no explicit size is given.<br><font color="#888888"><br>~TJ<br>
</font></div><br>