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 <ro...@barrettinteriors.co.uk> 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 iphonewebdev@googlegroups.com. > To unsubscribe from this group, send email to > iphonewebdev+unsubscr...@googlegroups.com. > 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 iphonewebdev@googlegroups.com. To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.