1
0

Add web optimization for video files during processing

This commit is contained in:
PrivateGER
2025-05-29 20:29:42 +02:00
parent 6d4860bb78
commit 7cba9c11d4
2 changed files with 67 additions and 1 deletions
@@ -159,6 +159,10 @@ export class DriveService {
// thunbnail, webpublic を必要なら生成
const alts = await this.generateAlts(path, type, !file.uri);
if (type && type.startsWith('video/')) {
await this.videoProcessingService.webOptimizeVideo(path, type);
}
if (this.meta.useObjectStorage) {
//#region ObjectStorage params
let [ext] = (name.match(/\.([a-zA-Z0-9_-]+)$/) ?? ['']);