wx.compressVideo({
quality: 'quality',
resolution: resolution,
src: that.data.localVideoFile,
success: function (e) {
that.tips.close()
wx.saveVideoToPhotosAlbum({
filePath: e.tempFilePath,
success: function (ress) {
that.tips.showTips({
content: '分辨率修改成功,新视频文件已经保存到相册',
icon: "success",
time: 2000
})
},
fail: function (errr) {
that.tips.showTips({
content: '新视频文件保存失败',
error: "success",
time: 1000
})
}
})
}
})