This commit is contained in:
goodtube4u
2024-07-05 14:05:01 +10:00
parent e697f295b5
commit f13fe9fd6d

View File

@@ -1,7 +1,7 @@
// ==UserScript==
// @name GoodTube
// @namespace http://tampermonkey.net/
// @version 4.005
// @version 4.006
// @description Loads Youtube videos from different sources. Also removes ads, shorts, etc.
// @author GoodTube
// @match https://*.youtube.com/*
@@ -3515,12 +3515,9 @@
});
goodTube_videojs_player.on('timeupdate', function() {
// Only do this for HD servers
if (goodTube_api_type === 2 || goodTube_api_type === 3) {
// It loaded so let's remove the loading timeout
if (goodTube_bufferingTimeout) {
clearTimeout(goodTube_bufferingTimeout);
}
// It loaded so let's remove the loading timeout
if (goodTube_bufferingTimeout) {
clearTimeout(goodTube_bufferingTimeout);
}
});