mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2025-11-29 00:56:32 +00:00
(attempt to) resume audio and video simultaneously
This commit is contained in:
parent
9a890574d5
commit
d806eb0426
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue