diff --git a/frontend/src/app/app.ts b/frontend/src/app/app.ts index 8add77b..d81eb9e 100644 --- a/frontend/src/app/app.ts +++ b/frontend/src/app/app.ts @@ -67,8 +67,11 @@ export class App implements OnInit { fluid: true, sources: [{ 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);