plupload icon indicating copy to clipboard operation
plupload copied to clipboard

v2.3.2 in some android webview(腾讯) warn ‘无法打开文件选择器’

Open zhouzefei opened this issue 8 years ago • 3 comments

v2.1.8 is ok. when i update to 2.3.2 there exits some problems.

problem: the performance in Tencent kernel webview

log cat: in our android app use Tencent kernel


code: runat 2.1.8 is ok,,but at 2.3.2 is wrong

const uploader = new plupload.Uploader({
      browse_button: 'J_Upload',
      url: '/carLoanOrder/uploadImage.json',
      flash_swf_url: "plupload/js/Moxie.swf",
      silverlight_xap_url: 'plupload/js/Moxie.xap',
      runtimes: "html5,flash,silverlight,html4",
      multi_selection: false,
      filters: {
        mime_types: [{
          title: "image",
          extensions: "jpg,jpeg,gif,png"
        }]
      }
    });

    uploader.bind('FilesAdded', (uploader, files) => {
      uploader.start();
    });

    uploader.bind('UploadProgress', (uploader, file) => {
    });

    uploader.bind('Error', (uploader, error) => {
    });

    uploader.bind('FileUploaded', (uploader, file, result) => {
    });

     uploader.init();

zhouzefei avatar Apr 18 '17 02:04 zhouzefei

Sorry, could you translate those error messages at least? And perhaps describe what you are trying to do exactly?

jayarjo avatar Aug 06 '17 06:08 jayarjo

Config looks ok, so it should just work. Not sure if flash or silverlight shims will work in webview though. Do they?

jayarjo avatar Aug 06 '17 06:08 jayarjo

https://github.com/moxiecode/plupload/issues/1397 https://www.zhihu.com/question/54623070/answer/146447375

It seems the same problem. Hope it helps.

@zhouzefei

Dragon-Rider avatar Jul 26 '18 07:07 Dragon-Rider