W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] Apple Proposal for Timed Media Elements

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 13 Oct 2007 00:26:55 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0710130015200.19595@hixie.dreamhostps.com>
On Thu, 22 Mar 2007, Sander Tekelenburg wrote:
> > 
> > <http://webkit.org/specs/HTML_Timed_Media_Elements.html>
> 
> I'm worried about "The controller attribute is a boolean attribute. If 
> the attribute is present, the user agent must display a user interface 
> which allows the user to control the media element."
> 
> If this is to be taken as "if an author provides no controller 
> attribute, the UA is to not provide a UI", I'd have to vote against that 
> (for reasons mentioned earlier ;)).

The alternative -- having an attribute to hide the controls -- is what I'd 
prefer, but there isn't really a clean way to do that without double 
negatives like:

   <video nocontrols>

...with the corresponding:

   video.nocontrols = false;

...to enable controls, which is very confusing.


> What about instead allowing authors to set controller to display:none? 
> That would give authors the freedom to suggest present movies 
> controllerless, but leave the end user the option to override that, as I 
> think it should be.

It's not really a style-level thing -- if the content wants to control the 
video, it makes no sense to have the controls present as well.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 12 October 2007 17:26:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC