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)
}
})
}
})
wx.chooseVideo参数
网友回复


