Commit b599ed35 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

updated for newer jp4 plugin

parent abcbbeef
......@@ -625,7 +625,8 @@ camInterface.prototype.gotShadow=function() {
}else{
// this requires jquery
jp4obj = $("#idCameraImage_div").jp4({ip:img_addr,port:img_port,width:document.getElementById("idDivCameraImage").offsetWidth,fast:true,lowres:1,note:true});
//jp4obj = $("#idCameraImage_div").jp4({ip:img_addr,port:img_port,width:document.getElementById("idDivCameraImage").offsetWidth,fast:true,lowres:1,note:true});
jp4obj = $("#idCameraImage_div").jp4({src:"http://"+img_addr+":"+img_port+"/img",width:document.getElementById("idDivCameraImage").offsetWidth,fast:true,lowres:1,note:true});
}
document.getElementById("idImageLink").href= gRequests.shadowImage.src;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment