提交 88f9ac6f 编写于 作者: Q qiang

Merge branch 'dev' into alpha

......@@ -9,10 +9,10 @@ import {
} from '../util'
export function compressVideo (options, callbackId) {
const dst = `${TEMP_PATH}/compressed/${Date.now()}_${getFileName(options.src)}`
const filename = `${TEMP_PATH}/compressed/${Date.now()}_${getFileName(options.src)}`
const successCallback = warpPlusSuccessCallback(callbackId, 'compressVideo')
const errorCallback = warpPlusErrorCallback(callbackId, 'compressVideo')
plus.zip.compressVideo(Object.assign({}, options, {
dst
filename
}), successCallback, errorCallback)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册