mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-12 19:37:29 +00:00
(attempt to) resume audio and video simultaneously
This commit is contained in:
parent
9a890574d5
commit
d806eb0426
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user