W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Video- and audio-controls without scripting

From: Ashley Sheridan <ash@ashleysheridan.co.uk>
Date: Sun, 14 Aug 2011 09:55:24 +0100
Message-ID: <e1053b27-605e-4b43-b44c-7e07812e5dbd@email.android.com>


Timo Beermann <timo.beermann at googlemail.com> 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.
>
>Timo Beermann

There are controls available without using javascript. Just add the 'controls' attribute to the audio or video tag. The scriptable elements just allow you to create custom controls that can have further actions, or look and behave slightly differently. The controls and appearance of them is dependant on the browser and platform in use, but generally there are the basic play/pause, stop, forward & backward buttons, a seek bar and a volume control.

Thanks,
Ash
http://www.ashleysheridan.co.uk
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Received on Sunday, 14 August 2011 01:55:24 UTC

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