User Guide
Table Of Contents
- Cover
- Quick Installation Procedure
- Notices
- Table of Contents
- Product Overview
- Physical Description
- Installation
- Configuring the Video Server
- Using the Video Server
- Accessing your Surveillance Images
- Positional Control of the Video Sources
- The Log File
- PINGing Your IP Address
- Symptoms, Possible Causes and Remedial Actions
- Obtaining Updated Software
- Upgrading the Software
- The Physical Connector
- Camera Positioning
- CGI Parameters for Image Requests
- CGI Parameters for Pan Tilt and Zoom Control
- CGI Parameters for Preset Positions
- CGI Parameters for Serial Port Control
- Controlling and Monitoring
- Wizard Preconfigurations
- Client Applications
- Starting and Enabling the Editor
- Programming Script Format
- Commands
- Index

Appendix E -
CGI Parameters
AXIS 2400/2401 Administration Manual
52
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:
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 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>
<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>