|
|
How do I embed the View by ActiveX page on my web site?
To embed the View by ActiveX web page, please read the instructions below.
- Create a web page and save it as default2.htm in the htdoc folder of Webcam 1-2-3/Watchdog/NetCamCenter.
Copy and paste the following HTML code to the web page.
<script language="JavaScript" type="text/JavaScript">
<!--
if (navigator.appName.indexOf("Microsoft") != -1 ) {
document.write('<OBJECT ID="WCSAXrview" WIDTH=320 HEIGHT=240 CLASSID="CLSID:0348CD18-6EFE-415B-AF32-58F08FA29B33" CODEBASE="wcsarview.cab#version=1,9,0,0">')
document.write('<PARAM NAME="URL" VALUE="http://192.168.1.3:80/0_0">')
document.write('<PARAM NAME="frameWaitTime" VALUE="166">')
document.write('<PARAM NAME="mode" VALUE="0">')
document.write('<PARAM NAME="videoport" VALUE="0">')
document.write('<PARAM NAME="PTZType" VALUE="0">')
document.write('<PARAM NAME="videoChannel" VALUE="0">')
document.write('</OBJECT>')
} else if((navigator.appName.indexOf("Netscape") != -1)) {
document.write('')}
//-->
</script>
- Copy and paste the following html code to the web page on your web site.
<iframe name="webcam" src="http://webcam IP address:port/default2.htm" width=320 height=240 frameborder=0 framespacing="0" scrolling="no" border=0></Iframe>
- Change the IP address and web port.
For example, if the IP address of Webcam 1-2-3, Watchdog or NetCamCenter is
70.1.1.1 and video port is 81. Then enter http://70.1.1.1:81
| Name | Description |
| iWidth | the width of your webcam image |
| iHeight | the height of your webcam image |
- Change the width and height in the IFRAME tag if it's not 320x240.
Copyright ©2009 Webcam Corp. All rights reserved.
|