parent
2b0cb6d728
commit
84931003ea
2 changed files with 14 additions and 6 deletions
|
|
@ -122,8 +122,6 @@ async function save(path: string, name: string, type: string, hash: string, size
|
|||
} else if (type.startsWith('video/')) {
|
||||
try {
|
||||
thumbnail = await GenerateVideoThumbnail(path);
|
||||
thumbnailExt = 'png';
|
||||
thumbnailType = 'image/png';
|
||||
} catch (e) {
|
||||
console.log(`GenerateVideoThumbnail failed: ${e}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue