http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW1
Apple: "On the desktop, you can set and read the volume property of an
<audio> or <video> element. This allows you to set the element’s audio
volume relative to the computer’s current volume setting. A value of 1
plays sound at the normal level. A value of 0 silences the audio.
Values between 0 and 1 attenuate the audio.

This volume adjustment can be useful, because it allows the user to
mute a game, for example, while still listening to music on the
computer.

On iOS devices, the audio level is always under the user’s physical
control. The volume property is not settable in JavaScript. Reading
the volume property always returns 1."

On Tue, Feb 1, 2011 at 12:13 AM, P T Withington <[email protected]> wrote:
> Is it completely that restrictive, or can you set the volume so long as the 
> script was invoked by some UI gesture?
>
> I seem to recall running into limitations on things like this before and we 
> had to contrive our mouse-handlers to fit.
>
> On 2011-01-28, at 14:28, Henry Minsky wrote:
>
>> Did you know that Safari on iOS devices doesn't allow you to set the volume
>> via javascript? They only
>> permit the volume to be changed via the user physically pushing the volume
>> controls on the device.
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> [email protected]
>
>
>

Reply via email to