Skip to content

Commit

Permalink
fix: remove play callback
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed May 21, 2024
1 parent 77a5c23 commit f62e4de
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export class VideoElementManager {
cleanup = () => {
this.videoElements.forEach(videoElement => {
videoElement.srcObject = null;
videoElement.removeEventListener('play', this.resumeVideoPlayback);
videoElement.removeEventListener('pause', this.resumeVideoPlayback);
this.resizeObserver?.unobserve(videoElement);
this.intersectionObserver?.unobserve(videoElement);
Expand Down

0 comments on commit f62e4de

Please sign in to comment.