1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| <html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html">
<script type="text/javascript" src="http://YOURIP:YOURPORT/common.js"></script><!-- Load common JavaScript -->
<script type="text/javascript" src="http://YOURIP:YOURPORT/cgi-bin/pubinfo.cgi"></script><!-- load the public info -->
<script type="text/javascript" src="http://YOURIP:YOURPORT/plugindef.js"></script><!-- Load the plugin define -->
<script type="text/javascript">
<!--
function SnapshotWin()
{
MM_openBrWindow('http://YOURIP:YOURPORT/snapshot.html','JPEGsnapshot','width=' + (Width + ss_width_offset) + ',height=' + (Height + ss_height_offset));
}
function onloadEvent()
{
setTitle(HostName);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" background="" onLoad="onloadEvent()">
<script type="text/javascript">
<!--
// The ActiveX plug-in
document.write("<object id=\"" + PLUGIN_ID + "\" width=" + (Width + X_OFFSET_CTRL) + " height=" + (Height + Y_OFFSET_CTRL));
document.write(" standby=\"Loading plug-in...\" classid=CLSID:" + CLASS_ID);
document.write(" codebase=\"http://YOURIP:YOURPORT/" + PLUGIN_NAME + "#version=" + PLUGIN_VER + "\">");
document.write("<param name=\"Url\" VALUE=\"rtsp://" + YOUR IP + "." + YOUR IP + "." + YOUR IP +"." + YOUR IP + ":" + RTSPPort + "/" + RTSPAccessName +"\">");
document.write("This is a plug-in (ActiveX). If you see this text, your browser is not support or disable ActiveX.");
document.write("<\/object>");
//-->
</script>
</body>
</html> |
Partager