Compare commits

..

4 Commits
5.9 ... 5.9.1

Author SHA1 Message Date
Ajay
a2f4f34dfe bump version 2024-09-26 19:27:30 -04:00
Ajay
7ba6fee9e5 Add more room for server-side rendering check 2024-09-26 19:26:01 -04:00
Ajay
9d9713ee82 Attempt to fix issue with autoplay disabled on some browser breaking skipping
Fix #2074 and Fix #2078
2024-09-26 19:18:30 -04:00
Ajay
91556f981a Remove unnecessary log
Fix #2111
2024-09-23 16:00:17 -04:00
4 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "__MSG_fullName__", "name": "__MSG_fullName__",
"short_name": "SponsorBlock", "short_name": "SponsorBlock",
"version": "5.9", "version": "5.9.1",
"default_locale": "en", "default_locale": "en",
"description": "__MSG_Description__", "description": "__MSG_Description__",
"homepage_url": "https://sponsor.ajay.app", "homepage_url": "https://sponsor.ajay.app",

View File

@@ -852,6 +852,7 @@ let lastPlaybackSpeed = 1;
let setupVideoListenersFirstTime = true; let setupVideoListenersFirstTime = true;
function setupVideoListeners() { function setupVideoListeners() {
const video = getVideo(); const video = getVideo();
if (!video) return; // Maybe video became invisible
//wait until it is loaded //wait until it is loaded
video.addEventListener('loadstart', videoOnReadyListener) video.addEventListener('loadstart', videoOnReadyListener)

View File

@@ -92,8 +92,6 @@ export function getExistingChapters(currentVideoID: VideoID, duration: number):
} }
} }
console.log(chapters)
return chapters; return chapters;
} }