This commit is contained in:
ashley 2024-09-25 14:16:53 +00:00
parent 4bb8d742da
commit 1a19f51072

View file

@ -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', () => {