Add frontend

This commit is contained in:
Florian THIERRY
2026-07-24 15:38:36 +02:00
parent 00c24bca94
commit 5aa894912d
+5 -2
View File
@@ -67,8 +67,11 @@ export class App implements OnInit {
fluid: true, fluid: true,
sources: [{ sources: [{
src: `/api/videos/${videoId}/stream`, src: `/api/videos/${videoId}/stream`,
type: 'video/x-msvideo' // AVI MIME type type: 'video/mp4' // Use MP4 as it's widely supported
}] }],
error: (error: Event) => {
console.error('Video.js error:', error);
}
}); });
this.#videoPlayers.set(videoId, player); this.#videoPlayers.set(videoId, player);