If you go to the admin section of the 241q, it shows examples for streaming aswell. Dont forget for some of the streaming it either requires the client to add some plugin to IE, or to have Java i think.
If your restrictions are high on vista, it wont install the plugin for instance.
Maybe the next part doesn't look that well but i'll try:
<SCRIPT LANGUAGE="JavaScript">
// Set the BaseURL to the URL of your camera
var BaseURL = "
http://webcams.binkey.nl/";
// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = "352";
var DisplayHeight = "240";
// This is the path to the image generating file inside the camera itself
var File = "axis-cgi/mjpg/video.cgi?resolution=CIF&camera=1";
// No changes required below this point
var output = "";
if ((navigator.appName == "Microsoft Internet Explorer") &&
(navigator.platform != "MacPPC") && (navigator.platform != "Mac68k"))
{
// If Internet Explorer under Windows then use ActiveX
output = '<OBJECT ID="Player" width='
output += DisplayWidth;
output += ' height=';
output += DisplayHeight;
output += ' CLASSID="CLSID:DE625294-70E6-45ED-B895-CFFA13AEB044" ';
output += 'CODEBASE="';
output += BaseURL;
output += 'activex/AMC.cab#version=4,0,18,0">';
output += '<PARAM NAME="MediaURL" VALUE="';
output += BaseURL;
output += File + '">';
output += '<param name="MediaType" value="mjpeg-unicast">';
output += '<param name="ShowStatusBar" value="0">';
output += '<param name="ShowToolbar" value="0">';
output += '<param name="AutoStart" value="1">';
output += '<param name="StretchToFit" value="1">';
// Remove the '//' for the ptz settings below to use the code for click-in-image.
// output += '<param name="PTZControlURL" value="';
// output += BaseURL;
// output += '/axis-cgi/com/ptz.cgi?camera=1">';
// output += '<param name="UIMode" value="ptz-relative">'; // or "ptz-absolute"
output += '<BR><B>Axis Media Control</B><BR>';
output += 'The AXIS Media Control, which enables you ';
output += 'to view live image streams in Microsoft Internet';
output += ' Explorer, could not be registered on your computer.';
output += '<BR></OBJECT>';
} else {
// If not IE for Windows use the browser itself to display
theDate = new Date();
output = '<IMG SRC="';
output += BaseURL;
output += File;
output += '&dummy=' + theDate.getTime().toString(10);
output += '" HEIGHT="';
output += DisplayHeight;
output += '" WIDTH="';
output += DisplayWidth;
output += '" ALT="Camera Image">';
}
document.write(output);
document.Player.ToolbarConfiguration = "play,+snapshot,+fullscreen"
// Remove the '//' below to use the code for Motion Detection.
// document.Player.UIMode = "MDConfig";
// document.Player.MotionConfigURL = "/axis-cgi/operator/param.cgi?ImageSource=0"
// document.Player.MotionDataURL = "/axis-cgi/motion/motiondata.cgi";
</SCRIPT>
MPEG-4 video
The AXIS Media Control only works in Windows Internet Explorer
Web browsers can include images from different sources onto the same page. This makes it very easy to add live video from your AXIS 241Q Video Server to your own web page. You can even save an HTML page on your local hard disk and use it to display live images from the AXIS 241Q.
To incorporate the image into your own web page, copy the source code shown below into the page. (It is sometimes necessary to first paste the code into e.g. Notepad, and then select and copy it again before pasting it into the web page. This depends on which editor you are using.)
<SCRIPT LANGUAGE="JavaScript">
// Set the BaseURL to the URL of your camera
var BaseURL = "
http://webcams.binkey.nl/";
// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = "704";
var DisplayHeight = "480";
// This is the URL of the generated media.
// 1 corresponds to video source one. Change this number to view another video source.
var MediaURL = "rtsp://webcams.binkey.nl:554/mpeg4/1/media.amp";
var output = "";
output = '<OBJECT ID="Player" width='
output += DisplayWidth;
output += ' height=';
output += DisplayHeight;
output += ' CLASSID="CLSID:DE625294-70E6-45ED-B895-CFFA13AEB044" ';
output += 'CODEBASE="';
output += BaseURL;
output += 'activex/AMC.cab#version=4,0,18,0">';
output += '<PARAM NAME="MediaURL" VALUE="';
output += MediaURL + '">';
output += '<param name="MediaType" value="auto-sense">';
output += '<param name="ShowStatusBar" value="0">';
output += '<param name="ShowToolbar" value="0">';
output += '<param name="AutoStart" value="1">';
output += '<param name="StretchToFit" value="1">';
output += '<BR></OBJECT>';
document.write(output);
document.Player.ToolbarConfiguration = "play,+snapshot,+fullscreen"
</SCRIPT>
MPEG-4 video in QuickTime
QuickTime does not support the current MPEG-4 setting.
Go to Setup->Video&Image->Advanced->MPEG-4 and set Video object type to 'Simple' for QuickTime to work.
Web browsers can include images from different sources onto the same page. This makes it very easy to add live video from your AXIS 241Q Video Server to your own web page. You can even save an HTML page on your local hard disk and use it to display live images from the AXIS 241Q.
To incorporate the image into your own web page, copy the source code shown below into the page.
When using QuickTime, this file must be placed in the same directory as the file containing the code below.
To incorporate the image into your own web page, copy the source code shown below into the page. (It is sometimes necessary to first paste the code into e.g. Notepad, and then select and copy it again before pasting it into the web page. This depends on which editor you are using.)
<SCRIPT LANGUAGE="JavaScript">
// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = 704;
var DisplayHeight = 480 + 16;
// This is the URL of the generated media.
// 1 corresponds to video source one. Change this number to view another video source.
var MediaURL = "rtsp://webcams.binkey.nl:554/mpeg4/1/media.amp";
var output = "";
output = '<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width=';
output += DisplayWidth;
output += ' height=';
output += DisplayHeight;
output += ' CODEBASE="
http://www.apple.com/qtactivex/qtplugin.cab">';
output += '<param name="src" value="AxisMoviePoster.mov">';
output += '<param name="autoplay" value="true">';
output += '<param name="controller" value="true">';
output += '<param name="qtsrc" value="';
output += MediaURL;
output += '">';
output += '<embed src="AxisMoviePoster.mov" width=';
output += DisplayWidth;
output += ' height=';
output += DisplayHeight;
output += ' qtsrc="';
output += MediaURL;
output += '" autoplay="true" controller="true" target="myself"';
output += ' PLUGINSPAGE="
http://www.apple.com/quicktime/download/"></embed>';
output += '</OBJECT>';
document.write(output);
</SCRIPT>
// Erik (binkey.nl)