Results 1 to 4 of 4

Thread: Script to insert IP camera on web page

  1. #1
    Join Date
    May 2008
    Posts
    46

    Script to insert IP camera on web page

    Hello

    I desperately sought a script to put the video stream from my IP camera D-LINK DCS 3420 on a Web page

    Can you help me?

    thank you

  2. #2
    Join Date
    May 2008
    Posts
    2,393

    Re: Script to insert IP camera on web page

    Here is a code .

    Code:
    <script language="JavaScript">
    if (0)
    {
    }
    else
    {
    if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
    {
    document.write("<OBJECT ID=\"VACtrl\" WIDTH=704 HEIGHT=480 name=\"VACtrl\"");
    document.write(" CLASSID=CLSID:1B3F4474-0BCC-436a-8D0D-796C5D5AAB5D");
    document.write(" CODEBASE=\"http://192.168.3.98/VatDec.cab#version=1,0,0,7\">");
    document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
    document.write("<PARAM NAME=\"Language\" VALUE=\"en\">");
    document.write("<PARAM NAME=\"ClickEventHandler\" VALUE=\"3\">");
    document.write("<PARAM NAME=\"IgnoreCaption\" VALUE=\"true\">");
    document.write("<PARAM NAME=\"IgnoreBorder\" VALUE=\"true\">");
    document.write("<PARAM NAME=\"Url\" VALUE=\"http://192.168.3.98/cgi-bin/video.jpg");
    document.write("?cam=5&quality=3&size=2\">");
    document.write("<PARAM NAME=\"PtzUrl\" VALUE=\"/cgi-bin/control.cgi?cam=2\">");
    document.write("</OBJECT>");
    }
    else
    {
    document.write("<img src=\"http://192.168.3.98/cgi-bin/video.jpg?cam=5&quality=3&size=2\" \
    width=352 height=240>");
    }
    }
    </script>

  3. #3
    Join Date
    May 2008
    Posts
    680

    Re: Script to insert IP camera on web page

    You can download Script , hope this help .

  4. #4
    Join Date
    May 2008
    Posts
    1,211

    Re: Script to insert IP camera on web page

    If you view the page source (by selecting "Source" from the "View" menu on your PC's browser menu bar or "Page source" form the "View" menu on a Mac), you should see some code somewhere on that page that starts with the word "APPLET" like this:

    Code:
    <APPLET name="cvcs" CODEBASE="http://192.168.15.6:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
                <param name="RemotePort" value=80>
                <param name="Timeout" value=5000>
                <param name="RotateAngle" value=0>
                <param name="PreviewFrameRate" value=2>
                <param name="DeviceSerialNo" value="">
    </APPLET>
    Note: The above code is from displaying my D-Link DCS-900 IP camera (see video stream below--if it takes forever to load, it's because there are too many users on this page and it's crushing my server)

    For more help see here

Similar Threads

  1. Insert Web Photo Gallery in Web page
    By Jesus-Ernesto in forum Windows Software
    Replies: 5
    Last Post: 15-07-2010, 01:43 AM
  2. How to insert FLV page in Flash
    By GracieSingh in forum Software Development
    Replies: 6
    Last Post: 25-02-2010, 01:32 PM
  3. Script to insert new line in a file in linux
    By OSzilla in forum Operating Systems
    Replies: 3
    Last Post: 28-07-2009, 11:48 PM
  4. wmv, pps insert into a web page
    By filldirt in forum Windows Software
    Replies: 6
    Last Post: 19-06-2009, 09:15 PM
  5. Script insert date in the name of my file
    By Viensterrr in forum Software Development
    Replies: 4
    Last Post: 31-10-2008, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •