Video Embedded In Customers' Homepage - D-Link DVS-104 User Manual

Video server
Table of Contents

Advertisement

Video Embedded in Customers' Homepage

In additional to the URL, some scripts should be added to download a plug-in for motion
pictures. The following example simply displays title text and a real-time video window
in Internet Explorer or Netscape. The user name and password should be configured in
advance. Those who are familiar with HTML can easily add more components or rewrite
a more vivid and useful homepage.
<html>
<head><title>Video Server Sample Page</title></head>
<body>
<h2>Video Server Sample Page</h2>
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform !=
"MacPPC")) {
document.write("<OBJECT ID=\"MjpegControl\" WIDTH=352 HEIGHT=240");
document.write(" CLASSID=\"CLSID:EAA105FE-7BBD-4196-8B96-D46743894195
\" ");
document.write("CODEBASE=\"http://username:password@192.168.0.201/plugin
/mjpegcontrol.cab#version=1,0,0,4\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"2\">");
document.write("<PARAM
192.168.0.201/cgi-bin/video.jpg");
document.write("?cam=1&quality=3&size=2\">");
document.write("</OBJECT>");
} else {
document.write("<img width=352 height=240");
document.write("src=\"http://192.168.0.201/cgi-bin/video.jpg?cam=1&quality=3
&size=2\">");
}
//-->
</script>
</body>
</html>
DVS-104 User Manual v1.00
Building Networks for People
NAME=\"Url\"
- 51 -
VALUE=\"http://username:password@

Advertisement

Table of Contents
loading

Table of Contents