wx.chooseVideo({
maxDuration:15,
success : function(res) {
var videoDuration = res.duration;
if (videoDuration &&videoDuration>15){
wx.showToast({
title: '视频时长不能超过15秒',
icon: 'none',
duration: 2000
});
}else{
that.setData({
video: res.tempFilePath,
addVideShow: 0
})
that.formSubmit();
}
},
fail : function(r) {
console.log(r);
}
})
(安卓手机)目前效果:无法自动停止拍摄
已知问题哈
啥时能改啊