lian-yue / vue-upload-component

Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Apache License 2.0
2.7k stars 696 forks source link

cannot update video files in wechat browser #291

Open willin opened 5 years ago

willin commented 5 years ago
WechatIMG476 WechatIMG478
<h3>视频上传</h3>
      <file-upload
        ref="upload2"
        v-model="files2" accept="video/*" name="file"
        post-action="/api/upload"
        extensions="mp4,mov,avi,mkv,mpg,vob,wmv,m4v,asf,srt"
        capture="camera"
        size="104857600"
        @input-filter="inputFilter2"
        @input-file="inputFile2"
      >
        <button>
          <img src="/images/icon-add-video.png">
        </button>
      </file-upload>
      (请上传 MP4 格式视频)

when open file chooser in wechat browser, still only can choose image file.

borie88 commented 5 years ago

capture="camcorder"?

lian-yue commented 5 years ago

accept="video/mp4,video/*"