Thanks for the heads-up, Alex. Apple should allow the volume of an audio to be adjusted by javascript such that volume "1" equals the user's chosen volume in Sounds settings dialog; the volume could never be set to exceed that level. 0.5 would be half of that volume, 0.1 a tenth of it, and so on. In that way, the script would be functioning within the parameters the user has chosen.
Regards Tim Romano On Wed, Aug 25, 2010 at 4:46 PM, Alex Zylka <[email protected]> wrote: > As far as I know, Apple does not let web pages to set volume, just like you > can't automatically add a shortcut to the home screen. I think this may be > one of Apple's little oddities but I may be wrong. > > Alex Zylka > http://www.zylka.us/ > > On Wed, Aug 25, 2010 at 6:12 AM, Tim Romano <[email protected]>wrote: > >> I am having no success in iPad Safari setting the initial volume of a WAV >> audio. >> >> It is a small 512-byte WAV that makes a clicking sound. Adding attribute >> volume="0.1" to the HTML declaration doesn't work. Setting volume attribute >> in javascript immediately before invoking play() doesn't work. >> >> Is volume-control of audio objects not yet implemented? Or is another >> audio format better-supported than WAV on the iPad? >> >> Thanks >> >> Tim Romano >> Swarthmore PA >> >> -- >> You received this message because you are subscribed to the Google Groups >> "iPhoneWebDev" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<iphonewebdev%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/iphonewebdev?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<iphonewebdev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
