Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhouzefei opened this issue Apr 18, 2017 · 3 comments

Comments

@zhouzefei
Copy link

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();
@jayarjo
Copy link
Contributor

jayarjo commented Aug 6, 2017

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

@jayarjo
Copy link
Contributor

jayarjo commented Aug 6, 2017

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

@Dragon-Rider
Copy link

Dragon-Rider commented Jul 26, 2018

#1397
https://www.zhihu.com/question/54623070/answer/146447375

It seems the same problem. Hope it helps.

@zhouzefei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants