julio reis Postado Março 22, 2010 Denunciar Share Postado Março 22, 2010 Estou com um problema meu script não ta funcionando no firefoxalguém me da um help egue o codigo:player.html<html><head><script language="javascript" src="player.js" type="text/javascript"></script><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><!-- ImageReady Slices (camaradepontaldoparana_03.jpg) --><table id="Table_01" width="746" height="54" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="3"background="images/player_01.jpg" width="288"> Radio em teste</td> <td> <img src="images/player_02.jpg" width="29" height="14" alt=""></td> <td rowspan="3"> <img src="images/player_03.jpg" width="13" height="54" alt=""></td> <td> <img src="images/player_04.jpg" width="19" height="14" alt=""></td> <td rowspan="3"> <img src="images/player_05.jpg" width="70" height="54" alt=""></td> <td> <img src="images/player_06.jpg" width="22" height="14" alt=""></td> <td rowspan="3"> <img src="images/player_07.jpg" width="10" height="54" alt=""></td> <td> <img src="images/player_08.jpg" width="19" height="14" alt=""></td> <td rowspan="3"> <img src="images/player_09.jpg" width="276" height="54" alt=""></td> </tr> <tr> <td> <a href="#"><img src="images/player_10.jpg" width="29" height="30" onclick="java script:Tocar();" border="0"></a></td> <td> <a href="#"><img src="images/player_11.jpg" width="19" height="30" onclick="java script:Parar();" border="0"></a></td> <td> <a href="#"><img src="images/player_12.jpg" width="22" height="30" onclick="java script:MaisVol();" border="0"></a></td> <td> <a href="#"><img src="images/player_13.jpg" width="19" height="30" onclick="java script:MenosVol();" border="0"></a></td> </tr> <tr> <td> <img src="images/player_14.jpg" width="29" height="10" alt=""></td> <td> <img src="images/player_15.jpg" width="19" height="10" alt=""></td> <td> <img src="images/player_16.jpg" width="22" height="10" alt=""></td> <td> <img src="images/player_17.jpg" width="19" height="10" alt=""></td> </tr></table> <div id="Roxplayer" style="visibility:hidden" > <script language="javascript" type="text/javascript"> if(-1 != navigator.userAgent.indexOf("MSIE")) { document.write('<object id="embPlayer" width="50" height="30" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" >'); document.write('<param id="urlMediaPlayer" name="URL" value="mms://wms3.netpoint.com.br/camarapontal" />'); document.write('<param name="TransparentAtStart" value="0" />'); document.write('<param name="ShowControls" value="0" />'); document.write('<param name="ShowDisplay" value="0" />'); document.write('<param name="autoStart" value="1" />'); document.write('<param name="autoSize" value="0" />'); document.write('<param name="uiMode" value="invisible" />'); document.write('<param name="volume" value="30" />'); document.write('<param name="ShowStatusBar" value="1" />'); document.write('</object>'); } else { document.write('<object id="embPlayer" width="50" height="30" type="application/x-ms-wmp"'); document.write('<param id="urlMediaPlayer" name="URL" value="mms://wms3.netpoint.com.br/camarapontal" />'); document.write('<param name="TransparentAtStart" value="0" />'); document.write('<param name="ShowControls" value="0" />'); document.write('<param name="ShowDisplay" value="0" />'); document.write('<param name="autoStart" value="1" />'); document.write('<param name="autoSize" value="0" />'); document.write('<param name="uiMode" value="invisible" />'); document.write('<param name="volume" value="30" />'); document.write('<param name="ShowStatusBar" value="1" />'); document.write('</object>'); } </script> </div></div> <!-- End ImageReady Slices --></body></html>jsfunction Tocar(){ document.getElementById('embPlayer').controls.play();}// controle para radiofunction Parar(){ document.getElementById('embPlayer').controls.stop();}// controle incrementa volumefunction MaisVol(){ if(document.getElementById('embPlayer').GetVolume != undefined) { curVolume = document.getElementById('embPlayer').GetVolume(); newVolume = (curVolume + 10); if(newVolume < 100) { document.getElementById('embPlayer').SetVolume(newVolume); } else { document.getElementById('embPlayer').SetVolume(100); } //alert(document.embPlayer.GetVolume()); } else { document.getElementById('embPlayer').settings.volume = document.getElementById('embPlayer').settings.volume + 20; }}// controle decrementa volumefunction MenosVol(){ if(document.getElementById('embPlayer').GetVolume != undefined) { curVolume = document.getElementById('embPlayer').GetVolume(); newVolume = (curVolume - 10); if(newVolume > 10) { document.getElementById('embPlayer').SetVolume(newVolume); } else { document.getElementById('embPlayer').SetVolume(0); } //alert(document.embPlayer.GetVolume()); } else { document.getElementById('embPlayer').settings.volume = document.getElementById('embPlayer').settings.volume - 20; }}function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);} Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
julio reis
Estou com um problema meu script não ta funcionando no firefox
alguém me da um help egue o codigo:
player.html
jsLink para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.