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();
|
||||
|
||||
|
||||
$.verto.init({camera: null}, function() {
|
||||
|
||||
var x = 0;
|
||||
|
||||
$("#usecamera").append(new Option("No Camera", "none"));
|
||||
|
@ -794,14 +794,15 @@ function refresh_devices()
|
|||
$("#useshare").selectmenu('refresh', true);
|
||||
|
||||
//console.error($("#usecamera").find(":selected").val());
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function init() {
|
||||
cur_call = null;
|
||||
|
||||
$("#usecamera").selectmenu({});
|
||||
$("#usemic").selectmenu({});
|
||||
$("#useshare").selectmenu({});
|
||||
|
||||
if (!autocall) {
|
||||
pop("#ext", "verto_demo_ext", "3500");
|
||||
}
|
||||
|
@ -1257,8 +1258,10 @@ $(document).ready(function() {
|
|||
|
||||
// $("#rows").css("position", "absolute").css("z-index", "2");
|
||||
|
||||
$("#usrctl").show();
|
||||
$("#usr2").hide();
|
||||
//$("#usrctl").show();
|
||||
//$("#usr2").hide();
|
||||
|
||||
$("#usrctl").hide();
|
||||
|
||||
$("#rows").mouseover(function() {
|
||||
$("#usr2").show();
|
||||
|
@ -1269,11 +1272,13 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$("#usr2").mouseleave(function() {
|
||||
if (is_full) {
|
||||
usrto = setTimeout(function() { $("#usr2").hide(); }, 2000);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
init();
|
||||
$.verto.init({}, init);
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue