PDA

View Full Version : Audio on iPhone



SilenCeTheOne
23 Sep 2011, 2:28 AM
Hello,
i have a problem with my audi function.
its strage cause this works on my safarik Browser on my Desktop but it didnt work on my IPhone!
It means i have no sound on my IPhone.
can somebody help me?


{
text: 'Play',
id:'test',
iconCls:"home",
handler: function() {
var x = Ext.getCmp('my_carousel').items.indexOf(Ext.getCmp('my_carousel').layout.getActiveItem());
for(y=0;y<Main.bilder.length;y++) {
if(x == y) {
this.getText() == 'Play'? Ext.getCmp('player_'+y).play():Ext.getCmp('player_'+y).pause();
this.getText() == 'Pause'? this.setText('Play'):this.setText('Pause');
} else {
Ext.getCmp('player_'+y).pause();
}
}
}
}
..................................
audio = new Ext.Audio(Ext.apply({}, {
url: "http://"+Main.url+Main.request+Main.bilder[i].audio,
id: "player_"+i,
cls: 'player',
title: 'hidden',
enableControls: true,
hidden: true
}));