Advertisement
Guest User

Untitled

a guest
Oct 27th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.48 KB | None | 0 0
  1. YtNewUIFix.prototype.addExtras = function (css) {
  2.         if (this.showControlsFullscreen) {
  3.             css += "html:not(.floater):not(.iri-always-visible) .html5-video-player.ytp-fullscreen:not(.ytp-hide-controls) .html5-main-video  { height: calc(100% - 35px)!important; min-height: calc(100% - 35px) !important; max-height: calc(100% - 35px) !important; }\n";
  4.             css += ".html5-video-player.ytp-fullscreen:not(.ytp-hide-controls) .ytp-chrome-bottom { opacity: 1!important; display: block!important; }\n";
  5.         }
  6.         if (this.showControlsNonFullscreen) {
  7.             css += "html:not(.floater):not(.iri-always-visible) .html5-video-player:not(.ytp-fullscreen):not(.ytp-hide-controls) .html5-main-video  { top:0!important;height: calc(100% - 35px)!important; min-height: calc(100% - 35px) !important; max-height: calc(100% - 35px) !important; }\n";
  8.             css += ".html5-video-player:not(.ytp-fullscreen):not(.ytp-hide-controls) .ytp-chrome-bottom { opacity: 1!important; display: block!important; }\n";
  9.             css += "html:not(.floater):not(.iri-always-visible):not(.part_fullbrowser) #movie_player:not(.ytp-fullscreen):not(.ytp-hide-controls) { height: calc(100% + 35px)!important; }\n";
  10.             css += "html.floater .html5-video-player, html.iri-always-visible .html5-video-player { padding-bottom: 35px; }\n";
  11.             css += "#theater-background { padding-bottom: 35px; }\n\n";
  12.             css += "#placeholder-player { padding-bottom: 35px; }\n";
  13.         }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement