Open willin opened 5 years ago
<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.
capture="camcorder"?
accept="video/mp4,video/*"
when open file chooser in wechat browser, still only can choose image file.