Closed Bug 276830 Opened 20 years ago Closed 20 years ago

JavaScript fails on construction CAM - fails to display image - works in I.E.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Kfritz0627, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Firefox/1.0

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML LANG="EN">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<TITLE>ActiveX Viewer</TITLE>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/command/inquiry.cgi?inqjs=sysinfo"
TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
var time_ID;

function SetParm(){
	self.status="Loading...";
	document.viewer.Start();
	time_ID=self.setInterval("SutatusBar()",5000);
}

function SutatusBar(){
	self.status=document.viewer.GetMessage(0);
}

function StopSutatusBar(){
	clearInterval(time_ID);
}

function AViewer(){
	document.open();
	document.write("<OBJECT ID='SonySncRz30'");
	document.write(" CLASSID='CLSID:63DF43C2-469A-41F3-B119-17B1ACE8BB34'");
	document.write(" CODEBASE='SonySncRz30View.cab#version=2,0,4,0' NAME='viewer'>");
	document.write("	<PARAM NAME='MOUNT' ");
	document.write("VALUE="+Mount+">");
	document.write("	<PARAM NAME='RATE' ");
	document.write("VALUE="+DefFrameRate+">");
	document.write("<\/OBJECT>");
	document.close();
}
//-->
</SCRIPT>
</HEAD>
<BODY text="#FFFFFF" bgcolor="#000000" link="#FFFFFF" vlink="#CCCCCC"
alink="#FFFFFF"
	onLoad="SetParm();" onUnLoad="StopSutatusBar();">
<SCRIPT TYPE="text/javascript">
<!--
	AViewer();
//-->
</SCRIPT>

</BODY>
</HTML>


Reproducible: Always

Actual Results:  
Error: document.viewer.Start is not a function
Source File: http://webcam2.ci.schaumburg.il.us/home/aviewer.html
Line: 16

Expected Results:  
display images

the JavaScript fails on the start command
Severity: major → normal
Summary: JavaScript crashes on construction CAM - fails to display image - works in I.E. → JavaScript fails on construction CAM - fails to display image - works in I.E.
This is the ActiveX page, you have to use Server Push or Java applet:
http://webcam2.ci.schaumburg.il.us/index.html
Please reopen if I misunderstoord and you specifically want to use the ActiveX
plug-in.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.