Webcam Corp.
Search Our Site with Google™
  Search   
  


  Related Links
  Embedding Windows 
  Media™ player
 



  
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.
  1. 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>


  2. 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>


  3. 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


  4. NameDescription
    iWidththe width of your webcam image
    iHeightthe height of your webcam image


  5. Change the width and height in the IFRAME tag if it's not 320x240.


  6. All rights reserved.
    All trademarks are owned by respective company.