mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user