F
Frank
I am no Java person and need some help.
Supposedly the following script is a cut & paste to put video into one
of my web pages from my camera.
There is an Error in the following code at runtime.
The URL is valid, etc
<html>
<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}
function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>
<BODY text=white onload="Init()" onunload="cvcs.Stop()">
<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>
</html>
Regards,
Frank
Supposedly the following script is a cut & paste to put video into one
of my web pages from my camera.
There is an Error in the following code at runtime.
The URL is valid, etc
<html>
<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.229.90"
cvcs.RemoteWeb = 85
cvcs.RemotePort = 8485
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}
function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + FrameRate.toString()+ " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>
<BODY text=white onload="Init()" onunload="cvcs.Stop()">
<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0">
</OBJECT>
</html>
Regards,
Frank