]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7509: fix typo
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Feb 2015 20:14:54 +0000 (14:14 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:05 +0000 (12:47 -0500)
html5/verto/video_demo/index.html
html5/verto/video_demo/verto.js

index 1ed53637ce03ffe07ce9f927514d1f313a8e6122..4b13390a1c47893e36370f203cfa26246555c80f 100644 (file)
@@ -255,6 +255,7 @@ function dial(ext)
  
     <input type="radio" name="vqual" id="vqual_vga" value="vga">
     <label for="vqual_vga">VGA 640x480</label>
+
     <input type="radio" name="vqual" id="vqual_qvga_wide" value="qvga_wide">
     <label for="vqual_qvga_wide">QVGA WIDE 320x180</label>
  
index a5a2367c29a0a8b0531852d05e0f602666716646..02930e3b4d9bac743af9a119f3cad6c44cf3634c 100644 (file)
@@ -15,6 +15,7 @@ var local_vid_height = 180;
 
 var outgoingBandwidth;
 var incomingBandwidth;
+var vqual;
 
 $( ".selector" ).pagecontainer({ "theme": "a" });
 
@@ -689,7 +690,7 @@ function init() {
     $.cookie("verto_demo_vid_checked", tmp, {
         expires: 365
     });
-    console.error(tmp);
+
     if (tmp !== "true") {
        $("#camdiv").hide();
        $(".sharediv").hide();
@@ -870,11 +871,13 @@ function init() {
     });
 //
 
-    var vqual = $.cookie("verto_demo_vqual") || "qvga";
+    vqual = $.cookie("verto_demo_vqual") || "qvga";
     $.cookie("verto_demo_vqual", vqual, {
         expires: 365
     });
 
+
+
     $("#vqual_qvga").prop("checked", vqual === "qvga").change(function(e) {
         if ($("#vqual_qvga").is(':checked')) {
            vqual = "qvga";
@@ -905,7 +908,7 @@ function init() {
     });
 
 
-    $("#vqual_vga").prop("checked", vqual === "vga_wide").change(function(e) {
+    $("#vqual_vga_wide").prop("checked", vqual === "vga_wide").change(function(e) {
         if ($("#vqual_vga_wide").is(':checked')) {
            vqual = "vga_wide";
            $.cookie("verto_demo_vqual", vqual, {
@@ -934,8 +937,6 @@ function init() {
        }
     });
     
-
-
     
     tmp = $.cookie("verto_demo_stereo_checked") || "true";
     $.cookie("verto_demo_stereo_checked", tmp, {