Ok thanks for that It's not due to the wav as it's the same with an mp3
Do you still get a delay? And can you pre load the sound file? Kind regards Roger Sent from my iPhone On 2 Apr 2011, at 06:31, Remi Grumeau <[email protected]> wrote: > Why not usie HTML5 audio() ? > http://www.we-are-gurus.com/labs/audio/ > > Perhaps wav is the problem? > > Remi Grumeau > > On 2 avr. 2011, at 06:49, Excell <[email protected]> wrote: > >> Hi all >> >> I have manged to get mobile safari to play a wav file using >> >> soundHandle = document.getElementById('soundHandle'); >> soundHandle.src = 'sounds/camera_click.wav'; >> soundHandle.play(); >> >> the above code is inside an event handler, >> >> the problem there is about a one second delay in playing the file >> >> Is there a way around this problem >> >> I have tried to pre load the sound file but that makes no difference >> >> Any suggestions >> >> Thanks >> >> Roger >> >> -- >> 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. >> > > -- > 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. > -- 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.
