wx.chooseVideo({wx.chooseVideo参数
sourceType: ['album','camera'],
maxDuration: 60,
camera: 'back',
success(res) {
console.log(res.tempFilePath)
wx.saveVideoToPhotosAlbum({
filePath: res.tempFilePath,
success (res) {
console.log(res.errMsg)
}
})
}
})
网友回复