Hi! I'm really new with this, but I have the following javascript displaying a webcam on a website, and it only works on Internet Explorer for Windows. I need it to work on other browsers, especially Mozilla (firefox). Any help is very much appreciated.
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"VaCtrl\" WIDTH=362 HEIGHT=306");
document.write(" CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C");
document.write(" CODEBASE=\"document.write("<PARAM NAME=\"Url\" VALUE=\"document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"208.57.82.160\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">");
document.write("</OBJECT>");
}
//-->
</script>
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"VaCtrl\" WIDTH=362 HEIGHT=306");
document.write(" CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C");
document.write(" CODEBASE=\"document.write("<PARAM NAME=\"Url\" VALUE=\"document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"208.57.82.160\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">");
document.write("</OBJECT>");
}
//-->
</script>