- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 3 Jun 2008 10:00:00 -0500
On Tue, Jun 3, 2008 at 7:36 AM, Philip J?genstedt <philipj at opera.com> wrote: > Hi! > > I'm a bit puzzled about how to interpret the poster attribute on > HTMLVideoElement: > > "The poster attribute gives the address of an image file that the user > agent can show while no video data is available. The attribute, if > present, must contain a URI (or IRI)." > > Is the intention that this image should be stretched to the size of the > video element, or that it should be centered in the frame? If the width > and height attributes are not given, should the video element initially > be given the size of the poster image, or should the user agent wait > until it has the dimensions of the video (thereby making the poster > useless)? > > In short, what is the intended use of poster? > > -- Philip J?genstedt > 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. Unless there's already some alternate intent, I suggest <video> scale to the poster's size if no explicit size is given. ~TJ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080603/b1fcb832/attachment.htm>
Received on Tuesday, 3 June 2008 08:00:00 UTC