Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-camvc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-camvc
Commits
b599ed35
Commit
b599ed35
authored
May 18, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated for newer jp4 plugin
parent
abcbbeef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
camvc_interface.js
src/camvc_interface.js
+2
-1
No files found.
src/camvc_interface.js
View file @
b599ed35
...
@@ -625,7 +625,8 @@ camInterface.prototype.gotShadow=function() {
...
@@ -625,7 +625,8 @@ camInterface.prototype.gotShadow=function() {
}
else
{
}
else
{
// this requires jquery
// 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
;
document
.
getElementById
(
"idImageLink"
).
href
=
gRequests
.
shadowImage
.
src
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment