Use the below example code to view the streaming video from youron 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 126.96.36.199 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
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.