Streaming não funciona on-line
Olá galera tdo bem?
Bom montei um player para uma rádio on-line. Só que ele não funciona on-line, somente local e no site somente no OPERA.
O que será que é?
O AC é esse o código:
function stream()
{
System.security.allowDomain("[http://67.23.232.15"](http://67.23.232.15));
System.security.allowDomain("[http://www.liberdade105.com.br"](http://www.liberdade105.com.br));
myRadio = new String("[http://67.23.232.15:8365"](http://67.23.232.15:8365));
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();} // End of the function
function clearBuffer()
{
mySound.stop();
delete mySound;
stream();} // End of the function
timerinProgress = false;
musicOn = true;
offonText = "OFF";
System.security.allowDomain("[http://67.23.232.15"](http://67.23.232.15));
System.security.allowDomain("[http://www.liberdade105.com.br"](http://www.liberdade105.com.br));
myRadio = new String("[http://67.23.232.15:8365"](http://67.23.232.15:8365));
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();
var vol = 80;
_root.onEnterFrame = function (){
_root.mySound.setVolume(vol);
};
var intervalID = setInterval(clearBuffer, 1200000);
e na exportação ativei a opção de local seguro para "access network only".
Alguem saberia o que está acontencendo?
Obrigado.
Discussão (5)
Carregando comentários...