Vivotek IP2111 User Manual page 51

Network camera
Hide thumbs Also See for IP2111:
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>Network Camera Sample Page</title></head>
<body>
<h2>Network Camera 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 NAME=\"Url\" VALUE=\"http://username:password@
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>
- 49 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip2121

Table of Contents