Depends on when you want to deploy. If you can wait a few weeks/months, add
the following HTML5 to your web app:

<h1>Audio Test</h1>

<audio src="/aud/button-3.wav" autoplay>
Your browser does not support the audio element.
</audio>

This works in the latest version of Safari on Mac, expect the iPhone OS3.0
to follow suit soon. Otherwise, you need to write an Objective C application
that uses UIWebView and has a Javascript-native event interface. I can help
you with that if you wish to email me directly.

Regards,

Steve
[email protected]


On Thu, Jun 11, 2009 at 7:28 PM, Gee Deezy <[email protected]> wrote:

>
> I would like to have an iPhone web app in HTML and PHP (could go
> JavaScript) that includes the automatic playing of a sound when the
> page loads, without leaving the browser.
>
> I don't care what format the sound is in.
> I don't care if the code is HTML, PHP, or JavaScript.
>
> I just need it to work.
>
> Can anyone assist?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to