Axis 24HUM Administration Manual page 54

Table of Contents

Advertisement

52
Appendix E - CGI Parameters
Example 3
The following example features a simple JavaScript that transmits live video images from a
AXIS 2400/2401 into a Web page, using Netcape:
<html>
<head>
<title>Live Video Demo for Netscape</title>
</head>
<body>
<H2>Live Video Demo for Netscape</H2>
<IMG SRC="http://172.21.1.200/cgi-bin/fullsize.jpg?camera=1&motion=0">
</body>
</html>
Example 4
The following example features a JavaScript that transmits live video images from a AXIS
2400/2401 into a Web page, using either Netcape or Microsoft Internet Explorer:
<html>
<head>
<title>Live Video Demo, Netscape and Microsoft Internet Explorer</title>
</head>
<body>
<H2>Live Video Demo, Netscape and Microsoft Internet Explorer</H2>
<SCRIPT LANGUAGE="JavaScript">
<!--//hide script
if ((navigator.appName ==
"Microsoft Internet Explorer") &&
(navigator.platform != "MacPPC") &&
(navigator.platform != "Mac68k"))
{
document.write("<OBJECT ID=\"CamImage\" WIDTH=352 ");
document.write("HEIGHT=288 CLASSID=CLSID:917623D1-")
document.write("D8E5-11D2-BE8B-00104B06BDE3 CODEBASE=");
document.write("\"http://172.21.1.200/activex/ATLCamImage.ocx");
document.write("#Version=1,0,1,18\"> <PARAM NAME=\"URL\" ");
document.write("VALUE=\"http://172.21.1.200/cgi-bin/fullsize.jpg");
document.write("?motion=10&camera=1\">");
document.write("</OBJECT>");
}
else
{
document.write("<IMG SRC=\"http://172.21.1.200");
document.write("/cgi-bin/fullsize.jpg?camera=1&motion=0\"");
}
//end hide -->
</SCRIPT>
</body>
</html>
AXIS 2400/2401 Administration Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

24002401

Table of Contents