真机和开发环境,都能保存,真机调试也提示了保存到手机的具体位置;生产环境和体验版无法保存到相册,也没有提示保存到哪里。
wx.saveVideoToPhotosAlbum({
filePath: rest.tempFilePath,
success(res) {
console.log(res.errMsg)
},
fail(res) {
console.log(res)
}
})
问题解决了吗? 我也碰到了一样的问题
rest.tempFilePath是怎么来的,代码贴出来看下
在体验版调试了,视频是mp4的,tempFilePath 是.bin 结尾的,提示invalid file type
配置相关用户隐私保护协议没有,配置下载域名没有