diff --git a/html/poketube.ejs b/html/poketube.ejs index f4da9d0d..18df2b77 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -397,9 +397,7 @@ a[data-onclick="jump_to_time"] { - - - + @@ -623,12 +621,8 @@ background-color: #0000; const audio = document.getElementById('aud'); - // Sync audio with video - const syncAudioWithVideo = () => { - if (Math.abs(video.currentTime() - audio.currentTime) > 0.3) { - audio.currentTime = video.currentTime(); - } - }; + localStorage.setItem(`progress-${new URLSearchParams(window.location.search).get('v')}`, 0); + const syncVolume = () => { audio.volume = video.volume(); @@ -1047,7 +1041,7 @@ Offical Discord Server! :3 <% } %> - + <% if (isvidious) { %> <% if (!qua) { %> <%