From 1a19f51072c4162f6541f7c7c6c72bbecd66fbe3 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 25 Sep 2024 14:16:53 +0000 Subject: [PATCH] bwa --- css/player-base.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/css/player-base.js b/css/player-base.js index 4e0406ca..bf8840be 100644 --- a/css/player-base.js +++ b/css/player-base.js @@ -71,25 +71,6 @@ document.addEventListener("DOMContentLoaded", () => { audio.pause(); }); - video.on('waiting', () => { - video.pause(); - audio.pause(); - }); - - video.on('canplaythrough', () => { - if (!video.paused()) { - video.play(); - audio.play(); - } - }); - - video.on('canplay', () => { - if (!video.paused()) { - video.play(); - audio.play(); - } - }); - video.on('seeking', handleSeek); video.on('seeked', () => {