FS-7509 update the verto demo to init properly with new $.verto.init() so resolutions and devices can be parsed properly
This commit is contained in:
parent
272108f0b3
commit
aacede1914
|
@ -751,7 +751,7 @@ function refresh_devices()
|
||||||
$("#usemic").empty();
|
$("#usemic").empty();
|
||||||
|
|
||||||
|
|
||||||
$.verto.init({camera: null}, function() {
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
|
||||||
$("#usecamera").append(new Option("No Camera", "none"));
|
$("#usecamera").append(new Option("No Camera", "none"));
|
||||||
|
@ -794,14 +794,15 @@ function refresh_devices()
|
||||||
$("#useshare").selectmenu('refresh', true);
|
$("#useshare").selectmenu('refresh', true);
|
||||||
|
|
||||||
//console.error($("#usecamera").find(":selected").val());
|
//console.error($("#usecamera").find(":selected").val());
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
cur_call = null;
|
cur_call = null;
|
||||||
|
|
||||||
|
$("#usecamera").selectmenu({});
|
||||||
|
$("#usemic").selectmenu({});
|
||||||
|
$("#useshare").selectmenu({});
|
||||||
|
|
||||||
if (!autocall) {
|
if (!autocall) {
|
||||||
pop("#ext", "verto_demo_ext", "3500");
|
pop("#ext", "verto_demo_ext", "3500");
|
||||||
}
|
}
|
||||||
|
@ -1257,8 +1258,10 @@ $(document).ready(function() {
|
||||||
|
|
||||||
// $("#rows").css("position", "absolute").css("z-index", "2");
|
// $("#rows").css("position", "absolute").css("z-index", "2");
|
||||||
|
|
||||||
$("#usrctl").show();
|
//$("#usrctl").show();
|
||||||
$("#usr2").hide();
|
//$("#usr2").hide();
|
||||||
|
|
||||||
|
$("#usrctl").hide();
|
||||||
|
|
||||||
$("#rows").mouseover(function() {
|
$("#rows").mouseover(function() {
|
||||||
$("#usr2").show();
|
$("#usr2").show();
|
||||||
|
@ -1269,11 +1272,13 @@ $(document).ready(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#usr2").mouseleave(function() {
|
$("#usr2").mouseleave(function() {
|
||||||
|
if (is_full) {
|
||||||
usrto = setTimeout(function() { $("#usr2").hide(); }, 2000);
|
usrto = setTimeout(function() { $("#usr2").hide(); }, 2000);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
init();
|
$.verto.init({}, init);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue