This procedure illustrates an HTML code snippet that can be included in a personal website to display a live video stream from a DCS-930L or DCS-932L camera. This code may work with additional D-Link DCS IP cameras, but was only tested on the DCS-930L and DCS-932L as of the posting of this thread.
Procedure
- Configure the DCS-9XXL and host router for port forwarding (and keep note of the WAN IP and port number)
- Create non-admin username and password
- Provide the non-admin username and password to individuals who will view the live video (i.e. viewing the live video via a website will require username and password authentication)
- Replace myWANip (highlighted below) with the WAN IP address
- Replace port# (highlighted below) with the DCS-9XXL port number. The port number refers to the external port number forwarded from the router (if different from the DCS-9XXL).
- To add multiple cameras, duplicate the code between (and including) the first instance of <tr> and last instance of </tr> (both highlighted below)
HTML Code
<html>
<head>
<title>LiveVideo</title>
<META content="text/html"; charset="UTF-8"; http-equiv=Content-Type>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
<body>
LiveVideo by acellier, rev. 2012-08-06 1740
<tr><div class="box">
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<tr><td bgcolor=black > <font color=white> CameraName <BR></font>
</td></tr> </TABLE>
<iframe src="http://myWANip:port#/video.cgi" width="640" height="480"
class="smart_sizing_iframe noresize" frameborder="0" scrolling="no" ></iframe>
</div></tr>
</body>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD>
</html>
Browser Tests
- Mac: Safari
- Windows: Firefox (Minor memory filling issue)
- Windows: Chrome (Does not login)
- iPad: Safari
- iPad: Terra
- iPad: Chrome (Does not login)
- iPad: Opera Mini (No video)
Additional Resources
- Network Cameras - Searchable FAQ Index (http://forums.dlink.com/index.php?topic=58404.0)
- Network Cameras - Important Posts & Information (http://forums.dlink.com/index.php?topic=58121.0)
Content for this solution submitted by forum member: acellier (http://forums.dlink.com/index.php?action=profile;u=37470)