提交 fa534559 编写于 作者: Q qiang

fix(App): chooseVideo compressed

上级 c007fe6b
...@@ -28,7 +28,8 @@ export function chooseVideo ({ ...@@ -28,7 +28,8 @@ export function chooseVideo ({
const compressVideo = compressed ? new Promise((resolve) => { const compressVideo = compressed ? new Promise((resolve) => {
plus.zip.compressVideo({ plus.zip.compressVideo({
src: tempFilePath, src: tempFilePath,
filename filename,
quality: 'medium'
}, ({ tempFilePath }) => { }, ({ tempFilePath }) => {
resolve(tempFilePath) resolve(tempFilePath)
}, () => { }, () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册