Hide YouTube Pause Overlay

To hide YouTube Pause Overlay

/* ==UserStyle==
@name           Hide YouTube Pause Overlay
@namespace      github.com/openstyles/stylus
@version        1.0.1
@description    To hide YouTube Pause Overlay
@author         CY Fung
@license        MIT
==/UserStyle== */

@-moz-document 
    domain("youtube.com"),
    domain("youtu.be"),
    domain("www.yout-ube.com"),
    domain("www.youtube-nocookie.com") {
    /* Insert code here... */
    
    .ytp-embed#movie_player .ytp-pause-overlay {
      display: none;
    }

    .paused-mode.ytp-expand-pause-overlay .ytp-pause-overlay {
      display: none;
    }
    
}