View Full Version : iPhone audio not working

18 Feb 2011, 5:41 AM
I am playing a sound using the audio component when receiving an order and I get sound when running in Chrome but not on the iPhone?

The audio component is created as follows:
var audio = {
id: 'audioPlayer',
xtype: 'audio',
url: './audio/Notification.mp3',
loop: false,
enableControls: false,
hidden: true
return audio;

I play the sound by executing the play().

Any ideas anyone?



18 Feb 2011, 5:51 AM
are you sure that it's actually loading? Try enabling controls. can you play it then?

19 Feb 2011, 1:19 PM
Hi jgarcia,

Thanks for your reply.

Yes. I have enabled the controls and played it. Every looks in order, the control looks like it is playing but no sound is produced.

25 Oct 2011, 1:49 AM
The Audio function works now!
Its strange my application on iphone ipad works now with audio since IOS5 !