F
Frank Smith
I have a D-Link DCS-1000w Internet camera and would like to put the video on
a web page.
DLink provides the OCX "xplug.ocx" but I cannot make it work.
Their code looks like this:
<html>
<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.230.91"
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:" + fFrameRate.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>
</body>
</html>
I have loaded xplug.ocx to the web site and the URL & Port above is valid
for my camera.
the page can be seen at www.czechcenter.org/camera.htm
Any hints?
a web page.
DLink provides the OCX "xplug.ocx" but I cannot make it work.
Their code looks like this:
<html>
<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "24.238.230.91"
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:" + fFrameRate.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>
</body>
</html>
I have loaded xplug.ocx to the web site and the URL & Port above is valid
for my camera.
the page can be seen at www.czechcenter.org/camera.htm
Any hints?