Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Script to insert IP camera on web page

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2009
Member
 
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

Reply With Quote
  #2  
Old 04-05-2009
Member
 
Join Date: May 2008
Posts: 2,373
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>
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #3  
Old 04-05-2009
Member
 
Join Date: May 2008
Posts: 647
Re: Script to insert IP camera on web page

You can download Script , hope this help .
__________________
Bayonetta Preview
Reply With Quote
  #4  
Old 04-05-2009
Member
 
Join Date: May 2008
Posts: 1,187
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
__________________
Windows 7 Review
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 09:58 AM.