wx.chooseVideo()安卓手机maxDuration无效的问题
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® {
console.log®;
}
})
(安卓手机)目前效果:无法自动停止拍摄