
// 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 = 288 + 16;

// This is the URL of the generated media.
var MediaURL = "rtsp://pecksmarina.homelinux.com:554/mpeg4/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="http://www.pecksmarina.com/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="http://www.pecksmarina.com/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);

