From d806eb0426dcd723729412ad7a197b6d6dc0e634 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 29 Oct 2020 21:16:59 +1300 Subject: [PATCH] (attempt to) resume audio and video simultaneously --- html/static/js/player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/html/static/js/player.js b/html/static/js/player.js index 9576162..d32deec 100644 --- a/html/static/js/player.js +++ b/html/static/js/player.js @@ -162,6 +162,7 @@ function relativeSeek(seconds) { function playVideo() { audio.currentTime = video.currentTime let lastTime = video.currentTime + ignoreNext.play++ video.play().then(() => { const interval = setInterval(() => { console.log("checking video", video.currentTime, lastTime)