function DrawTB() { if (document.Player) { document.Player.ToolbarConfiguration = "+play,+snapshot,+fullscreen"; } } function InstallFilter(prodName, ID, CLSID_filter, ver_filter, cab) { document.write(''); document.write('
The ' + ID + ' that enables streaming video in Microsoft Internet Explorer, could not be registered on this computer. To install AXIS Media Control, you must have adminstration rights on this computer and you must answer Yes when asked if you wish to allow the installation. The ' + prodName + ' can also be configured to show still images.
'); } function DrawAMC(prodName, height, width, imagepath, CLSID_AMC, cab, ver_AMC, ShowAMCToolbar, ptzgui, useWithCam, camnbr, UseRel, UseMotion, UseAudio) { if (imagepath.indexOf("mpeg4") != -1) { var mpeg4 = "yes"; } if (imagepath.indexOf("mjpg") != -1) { var mjpg = "yes"; } if (imagepath.indexOf("mpeg2") != -1) { var mpeg2 = "yes"; } document.write(''); document.write(''); if(mpeg4 == "yes") { document.write(''); } if (mjpg == "yes") { document.write(''); } if (mpeg2 == "yes") { document.write(''); } document.write(''); } else { document.write('value="0">'); } document.write(''); } else { document.write('value="0">'); } document.write(''); document.write(''); if((ptzgui == "yes") && (useWithCam == "yes")) { document.write(''); document.write(''); } else { document.write('value="ptz-absolute">'); } } document.write('
AXIS Media Control, which enables streaming video in Microsoft Internet Explorer, could not be registered on this computer. To install AXIS Media Control, you must have adminstration rights on this computer and you must answer Yes when asked if you wish to allow the installation. The ' + prodName + ' can also be configured to show still images.
'); if (document.Player.ShowToolbar) // This line is essential when installing AMC or else volume and mute buttons will show until reload if(ShowAMCToolbar == "yes") { document.Player.ToolbarConfiguration = "+play,+snapshot,+fullscreen"; } if(UseMotion == "yes") { document.Player.UIMode = "MDConfig"; document.Player.MotionConfigURL = "/axis-cgi/operator/param.cgi?ImageSource=" + [camnbr - 1] document.Player.MotionDataURL = "/axis-cgi/motion/motiondata.cgi"; } if(UseAudio == "yes") { document.Player.AudioConfigURL = "/axis-cgi/audio/getparam.cgi"; document.Player.AudioTransmitURL = "/axis-cgi/audio/transmit.cgi"; document.Player.AudioReceiveURL = "/axis-cgi/audio/receive.cgi"; document.Player.ToolbarConfiguration = "+play,+snapshot,+fullscreen,+mute,+volume,+audiocontrol"; } } //-->