[whatwg] video background color (Was: Interpretation of video poster attribute)

Ian Hickson ian at hixie.ch
Fri Jun 13 14:02:21 PDT 2008


On Fri, 13 Jun 2008, Philip Jägenstedt wrote:
>
> The issue with the poster attribute is resolved, but one comment made me 
> remember something I've wondered about:
> 
> On Fri, 2008-06-13 at 09:26 +0000, Ian Hickson wrote:
> 
> > It's not impossible; first black would render 300x150, then the poster
> 
> The spec says: Areas of the element's playback area that do not contain 
> the video represent nothing.
> 
> What does this mean? Black is customary for video, but leaving the 
> region transparent (thus falling back to css background color) is 
> another option. Which is better?

It's transparent, but I intended to have the following rule in the style 
sheet:

   video { background: black; }

...so that it looks black unless the author restyles it. Does that make 
sense?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list