[whatwg] Video- and audio-controls without scripting

Ian Hickson ian at hixie.ch
Tue May 8 09:45:14 PDT 2012


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list