No idea, I should try with a manifest file. 
I assume it's using some streaming capabilities since the 1mb file sounds way 
too quick to load if that wasn't the case...

Remi Grumeau

On 2 avr. 2011, at 07:53, "Roger Vale" <ro...@barrettinteriors.co.uk> wrote:

> 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  <remi.grum...@gmail.com> 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 <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.
>> 
> 
> -- 
> 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.

Reply via email to