Ciao a tutti,
ho questo codice
codice:
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ID="MP9"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab..."
height="522" width="677">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM NAME="ShowControls" VALUE="True">
<PARAM NAME="ShowStatusBar" VALUE="False">
<param name="volume" value="100">
<param name="Filename" value="http://85.18.46.20:9998/<%=live%>">
<embed autostart="1"
displaybackcolor="black"
name="MP9"
id="MP9"
volume="low"
showcontrols="1"
showstatusbar="0"
src="http://85.18.46.20:9998/<%=live%>"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
type="application/x-mplayer2"
height="477"
width="677"></embed>
</object>
<SCRIPT LANGUAGE="javascript">
function CheckPlayer()
{
document.formular1.clipCopyright.value = document.MP9.GetMediaInfoString(10);
if (document.formular1.clipCopyright.value=='')
{
document.formular1.clipCopyright.value='ATTENDERE LA LEZIONE STA PER COMINCIARE';
}
if (MP9.playState!=3)
{
MP9.play();
}
if (document.formular1.clipCopyright.value=='ScuolaOnline')
{
document.formular1.clipCopyright.value='Lezione Attiva';
}
return 0;
}
</SCRIPT>
<form action="" name="formular1">
STATO LEZIONE:
<input type="text" name="clipCopyright" size="60" readonly>
</form>
Nell'input dovrebbe inserire il valore passato da questa funzione...
document.MP9.GetMediaInfoString(10);
if (document.formular1.clipCopyright.value=='')
{
document.formular1.clipCopyright.value='ATTENDERE LA LEZIONE STA PER COMINCIARE';
}
if (MP9.playState!=3)
{
MP9.play();
}
if (document.formular1.clipCopyright.value=='ScuolaOn line')
{
document.formular1.clipCopyright.value='Lezione Attiva';
}
return 0;
Il tutto con IE funziona ma con FIREFOX no
sapete dirmi perchè??
Grazie!