From b9213b48688a84344cacab88866aba4ffda87274 Mon Sep 17 00:00:00 2001 From: timaramazanov Date: Mon, 3 Jun 2024 19:01:45 +0100 Subject: [PATCH] fix(): added debug logs --- src/components/video-container/Video-container.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/video-container/Video-container.component.ts b/src/components/video-container/Video-container.component.ts index 2e95841..d063786 100644 --- a/src/components/video-container/Video-container.component.ts +++ b/src/components/video-container/Video-container.component.ts @@ -342,6 +342,7 @@ export class VideoContainer extends LitElement { }); break; case "loadeddata": + console.log('LOADED DATA!') dispatch(this, Types.Action.updateDuration, { initialized: true, duration: getVideoDuration(video), @@ -372,6 +373,7 @@ export class VideoContainer extends LitElement { dispatch(this, Types.Action.togglePip, { pipActivated: false }); break; case "loadedmetadata": + console.log('LOADED META DATA!') dispatch(this, Types.Action.canPlay); break; case "error":