This commit is contained in:
goodtube4u
2025-06-16 13:54:03 +10:00
parent e94d6b3797
commit 28ec39cf43

View File

@@ -575,8 +575,8 @@
return;
}
// If we're not loading for the first time
if (!goodTube_firstLoad) {
// If we're loading for the first time OR we're not in PiP
if (!goodTube_firstLoad || !goodTube_pip) {
// If we're not viewing a video
if (window.location.href.indexOf('.com/watch') === -1) {
// Clear and hide the player