Browse Source

modified:recordVideo 插件,去掉无用的参数compressRatio,解决Android视频模糊问题

liuyf23 3 years ago
parent
commit
f18f1322fc
1 changed files with 5 additions and 3 deletions
  1. 5 3
      show-server/src/main/webapp/ipu/frame/mobile/expand-mobile.js

+ 5 - 3
show-server/src/main/webapp/ipu/frame/mobile/expand-mobile.js

@ -489,9 +489,9 @@ define(["require", "jcl"], function (require, Wade) {
489 489
          photoListMap = new Wade.DataMap();
490 490
        }
491 491
        execute("photoBrowse", [photoListMap.toString()]);
492
      }, recordVideo: function (callback, compressRatio, timeLimit) {
492
      }, recordVideo: function (callback, timeLimit) {
493 493
        storageCallback("recordVideo", callback);
494
        execute("recordVideo", [compressRatio, timeLimit]);
494
        execute("recordVideo", [timeLimit]);
495 495
      }, ipuRecordVideo: function (params, callback) {
496 496
        storageCallback("ipuRecordVideo", callback);
497 497
        execute("ipuRecordVideo", [params]);
@ -749,7 +749,9 @@ define(["require", "jcl"], function (require, Wade) {
749 749
        // 跳转沙盒文件浏览器
750 750
        storageCallback("openVideoEdit", callback);
751 751
        execute("openVideoEdit", [params], err);
752
      }
752
      },openQuikLook:function (filePath){
753
          execute("openQuikLook",[filePath]);
754
        }
753 755
    };
754 756
  })();
755 757