fix: debug
This commit is contained in:
parent
c63d7dc898
commit
90c89c3083
@ -97,8 +97,9 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Driv
|
|||||||
async function convertVideo(input) {
|
async function convertVideo(input) {
|
||||||
let sourceVideoFile = input;
|
let sourceVideoFile = input;
|
||||||
let targetVideoFormat = 'mp4'
|
let targetVideoFormat = 'mp4'
|
||||||
|
console.log('start convert video');
|
||||||
let convertedVideoDataObj = await VideoConverter(sourceVideoFile, targetVideoFormat);
|
let convertedVideoDataObj = await VideoConverter(sourceVideoFile, targetVideoFormat);
|
||||||
|
console.log('end convert video');
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
let convertedVideoFile = new File([convertedVideoDataObj.data], convertedVideoDataObj.name + "." + convertedVideoDataObj.format);
|
let convertedVideoFile = new File([convertedVideoDataObj.data], convertedVideoDataObj.name + "." + convertedVideoDataObj.format);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user