YouTube - Hide Controls Until Hover

Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

/* ==UserStyle==
@name          YouTube - Hide Controls Until Hover
@namespace     q1k
@version       1.0.0
@description   Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.
@type          less
==/UserStyle== */

@-moz-document domain("youtube.com") {
.html5-video-player.paused-mode .ytp-chrome-top, 
.html5-video-player.paused-mode .ytp-gradient-top, 
.html5-video-player.paused-mode .ytp-chrome-bottom, 
.html5-video-player.paused-mode .ytp-gradient-bottom {
  visibility: hidden;
}
.html5-video-player.paused-mode:hover .ytp-chrome-top, 
.html5-video-player.paused-mode:hover .ytp-gradient-top, 
.html5-video-player.paused-mode:hover .ytp-chrome-bottom, 
.html5-video-player.paused-mode:hover .ytp-gradient-bottom {
  visibility: visible;
}

}