wx.compressVideo 压缩有问题,改变分辨率无效?哥哥们求帮助
发布于 4 年前 作者 yangding 490 次浏览 来自 官方Issues
            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
                            })
                        }
                    })
                }
            })
回到顶部