PTZ Control Window om Web page

johirsh
edited May 2014 in SecuritySpy
OK I think something has changed over the versions. I have a button on my web page that opened a window that had the PYZ control in it. I included the following script in the header

function OpenPTZWindow(cameraNum) {
window.open("++ptz/controls?cameraNum="+cameraNum,"PTZ"+cameraNum,"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=230,height=190");
}


and used the following for the button



This used to work but now I get a window with a HTTP 404 error
In reading the documentation I get the impression that the scripts are now imbedded in the server

Anyone that can point me in the would be greatly appreciated

Comments

  • If you remove the two plus characters from the address it should work fine - i.e. use "ptz/controls" rather than "++ptz/controls".

    Newer versions of SecuritySpy should respond to both, so I'll make sure this is fixed in the next version.
  • johirsh
    edited May 2014
    Ahh thanks Ben... That as did it I don't even know it was dead I guess I should check my web pages more often