fix: debug

This commit is contained in:
こけっち 2022-03-12 02:24:23 +09:00
parent c63d7dc898
commit 90c89c3083
No known key found for this signature in database
GPG Key ID: 21460619C5FC4DD1

View File

@ -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);