wx.choosevideo只能选择视频不能拍视频
我的代码片段如下:
chooseVideo : function() {
var that = this
wx.chooseVideo({
success : function(res) {
that.setData({
video : res.tempFilePath,
addVideShow : 0
})
that.formSubmit();
},
fail : function® {
console.log®;
}
})
}
目前在小米se8,红米5上小程序调用wx.chooseVideo,只能选择本地已存在的视频,无法拍摄视频,拍摄完之后出现卡顿、然后直接跳转到小程序首页去了,拍摄的视频也没有保存到手机上!
