I am using Soundmanager 2 to play an mp3 audio stream. Somehow the onload event will not be fired in Firefox. In Safari and Chrom it worked well. When i set autoplay to true the stream will be played even in firefox, its just the onload events witch is not working.
soundManager.setup({
url: '/static/soundmanager2/swf',
flashVersion: 9,
preferFlash: false,
useHTML5Audio: true,
onready: function() {
var options = {
id: 'channel-'+num,
url: chan.url,
stream: true,
onload: function() { alert("loaded"); },
volume: 50,
autoPlay:true
};
this.SM = soundManager.createSound(options)
}
});