Use the below example code to view the streaming video from your DCS-3410 on your webpage. If the camera is behind a NAT device such as a router, the IP must be edited to reflect the public address of the router. In this example the public IP address of the router is 67.130.140.129 and the port used to access the camera publicly is 80. You will also need to edit the username and password for the remote connection by editing in the fields UserName and Password. In this example the UserName is username and the Password is password
IPCamera ActiveX Control Sample
Note: The only 4 lines that should be changed are the following
dcs.RemoteHost="172.19.150.96";
dcs.RemotePort=80;
dcs.Username="admin";
dcs.Password="admin";
Please understand that this is not a supported feature of the camera, and beyond providing this code, D-Link can not help design a custom webpage.