Skip to content

Commit

Permalink
fix(): added debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
timaramazanov committed Jun 3, 2024
1 parent 7f83449 commit b9213b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/video-container/Video-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit b9213b4

Please sign in to comment.