W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2008

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 13 Jun 2008 21:02:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0806132101290.6527@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 13 June 2008 14:02:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC