W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

[whatwg] Video- and audio-controls without scripting

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 8 May 2012 16:45:14 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1205081643260.17060@ps20323.dreamhostps.com>
On Sun, 14 Aug 2011, Timo Beermann wrote:
>
> The new video- and audio-tag are great, but the controls (play/pause, 
> skip forward, skip back, volume, progress bar, time) should be possible 
> without scripting. Some standard-controls that also can be modified with 
> CSS. Because some users deactivate Scripting (for security or whatever 
> other reason) and on other computers (school, university, work,...) you 
> are not able to change the settings, even if you want to. E.g. I use 
> NoScript and only allow scripting on very few trusted sites, that really 
> need it.

On Sun, 14 Aug 2011, Ashley Sheridan wrote:
> 
> There are controls available without using javascript. Just add the 
> 'controls' attribute to the audio or video tag.

Indeed.

In fact with JS disabled the specification requires that these controls be 
made available. See the second paragraph of:

   http://www.whatwg.org/specs/web-apps/current-work/#user-interface

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 8 May 2012 09:45:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT