收藏
回答

wx.compressVideo 压缩有问题,改变分辨率无效?哥哥们求帮助

            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",
                                time2000
                            })


                        },
                        fail: function (errr) {
                            that.tips.showTips({
                                content'新视频文件保存失败',
                                error"success",
                                time1000
                            })
                        }
                    })
                }
            })
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容