uni.chooseVideo({
count: 1,
sourceType: type,
success: res => {
if (type == 'camera') {
// arr.push(res.tempFilePath);
this.videoOrImg = 1; //视频
// this.imgPathSend = arr;
this.imgPathSend.push(res.tempFilePath);
if(platform === true){ //安卓机
this.getCompress(res.tempFilePath);
}else{
this.getVideoImage(res.tempFilePath);
}
} else {
if (res.size > uploadVideoSize) {
uni.showToast({
title: '视频大小不能超过1.5G',
icon: 'none',
duration: 1000
});
return false;
}
uni.showLoading({
title: '处理中...',
mask: true
});
}
},
fail: res => {
},
complete: res => {
}
});
c***@ebring.com.cn (作者)
13,没有升级,iphone8已升级到14也选择不上部分下载的视频
2020-11-06 10:07
WbsPool
回复 c***@ebring.com.cn: 我这边14.0有问题。14.1正常
2020-11-06 10:42