• April 19, 2024, 05:46:15 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DCS-2130 Embed in web page help needed  (Read 7376 times)

brooksb

  • Level 1 Member
  • *
  • Posts: 1
DCS-2130 Embed in web page help needed
« on: July 03, 2012, 05:28:39 AM »

Hi all,
I've been reading through the existing posts relating to embedding the video stream into a web page.
None of them seem to work for my camera, the dcs-2130.
Any ideas would be appreciated.

Here is the code i'm using (from the built in page)

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">


<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="/Pages/uvumi/var.js" ></script>
<script language="javascript" src="/Pages/uvumi/common.js" ></script>
<script>InitLoad();</script>
<script language="javascript" src="/Pages/uvumi/D-Link.js" ></script>
<script language="javascript" src="/Pages/uvumi/index.js" ></script>
<script language="javascript" src="/Pages/uvumi/ptzctrl.js" ></script>
<script language="javascript" src="/Pages/uvumi/ptz_dlink.js" ></script>

<script>
//<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
//<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 //  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
if(g_isSupportEPTZ == 1)
{
  loadJS("/Pages/uvumi/mootools-for-crop.js");
  loadJS("/Pages/uvumi/UvumiCrop.js");
};

mpMode=UpdateGSize(mpMode);

//--start 2011.3.8 added for aspect ratio
UpdateGlobalViewHeight();
//--end 2011.3.8

WriteDLinkHtmlHead("D-LINK CORPORATION| INTERNET CAMERA| LIVE VIDEO",null,null,"CallOnUnload","CallOnResize",null,0);
</script>

<script>
//2010.12.21 modified
//*****object tag must be alone between script tag.*****
if(browser_IE)
  DW('<OBJECT CLASSID="CLSID:'+AxUuid+'" CODEBASE="/VDControl.CAB#version='+AxVer+'" width=0 height=0 ></OBJECT>');
else
{
  if(mpMode == 1)
    var RTSPName = g_RTSPName1;
  else if(mpMode == 2)
    var RTSPName = g_RTSPName2;
  else if(mpMode == 3)
    var RTSPName = g_RTSPName3;
  //alert("aaa");
  var o='';
  var host = location.host.split(":");
  o+='<object id="qtrtsp_object" width="0" height="0" codebase="http://www.apple.com/qtactivex/qtplugin.cab" ';
o+='classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" type="video/quicktime">';
  o+='<param name="src" value="http://'+location.host+'/qt.mov" />';
  o+='<param name="autoplay" value="true" />';
  o+='<param name="controller" value="false" />';
  o+='<param name="qtsrc" value="rtsp://10.2.2.210:554/live1.sdp"/>';
  o+='</object>';
  //alert(o);
  DW(o);
}
</script>

<script>
DW('<table bordercolordark="#FFFFFF" width="950" align="center" bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" ><tr>');
DW('<td id="sidenav_container" valign="top" width="125">');
WriteLeftSideTable();
DW('</td><td id="maincontent_container" valign="top">');
WriteLiveVideoTable();
DW('</td></tr></table>');
WriteDLinkBottom(0);
//alert("1");
//if(g_isSupportEPTZ == 1)
//  ALC(1200);
//else
  ALC(1000);
</script>

<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:HeaderStyleDefinitions msdt:dt="string"></mso:HeaderStyleDefinitions>
<mso:PublishingContactPicture msdt:dt="string"></mso:PublishingContactPicture>
<mso:PublishingRollupImage msdt:dt="string"></mso:PublishingRollupImage>
<mso:Audience msdt:dt="string"></mso:Audience>
<mso:PublishingContactName msdt:dt="string"></mso:PublishingContactName>
<mso:Comments msdt:dt="string"></mso:Comments>
<mso:PublishingContactEmail msdt:dt="string"></mso:PublishingContactEmail>
</mso:CustomDocumentProperties>
</xml><![endif]-->
<title></title></head></html>
Logged