Greasy Fork is available in English.

Resize YT To Window Size

Moves the YouTube video to the top of the website and fill the window with the video player.

< Feedback on Resize YT To Window Size

Review: Good - script works

§
Posted: 17.05.2015

Disable Auto-hide progress bar and controls

Like the title says, is there a way to always show the controls and progress bar?

ZrenAuthor
§
Posted: 17.05.2015
Edited: 17.05.2015

If you're still using the old player, you can comment out this line:

https://github.com/Zren/ResizeYoutubePlayerToWindowSize/blob/master/153699.user.js#L551

The new player auto hides by default since the controls are a transparent overlay. You could use Stylish or something and apply the following CSS rules:

.ytp-autohide .ytp-chrome-top,
.ytp-autohide:not(.ytp-watch-controls) .ytp-chrome-bottom, 
.ytp-chrome-top[aria-hidden=true],
.ytp-chrome-bottom[aria-hidden=true] {
    opacity: 1;
}
.ytp-gradient-top[aria-hidden=true],
.ytp-gradient-bottom[aria-hidden=true],
.ytp-autohide .ytp-gradient-top,
.ytp-autohide .ytp-gradient-bottom {
  opacity: 1;
}
§
Posted: 18.05.2015
Edited: 18.05.2015

Commenting out that line worked. Thanks a lot. Thanks for the CSS style, too. I'll use that when I get switched over to the new player.

Post reply

Sign in to post a reply.