Resize YouTube's video player to full screen automatically - gHacks Tech News

Resize YouTube's video player to full screen automatically

It is quite surprising that the video hosting site YouTube does not offer better video player controls. While you can change the size of the player manually to a larger fixed size or full screen, you do not get any options to modify it to display in a dynamic size based on the browser window.

That's not a problem for all users, or even the majority of them, it seems, but if you prefer better controls, you need to look at third party extensions and scripts to do so for you.

One of the scripts that you can use in this regard is the Resize YouTube Player userscript which handles that in an automatic fashion for you.

After you have installed the script you will notice that all YouTube videos that you open on the YouTube website are automatically resized to fit the browser window fully. You may still see black bars at the top or bottom of the window as it fits the width fully by default. If your screen height is too large, you will get black borders on top or bottom of the player interface. Those do go away on the other hand if you resize the browser window as the video will automatically refit itself to use all of the width of it.

youtube full screen player

The userscript changes the resolution of the video automatically as well to a higher one to avoid situations where a 320p video is displayed in full screen on a 1920x1200 monitor. So, depending on the size, the video is automatically played in 480p, 720p or 1080p if available.

Tip: Here are a couple of alternatives for YouTube that you may find interesting as well:

What's interesting here is that you can scroll down the page to access all the other contents that are normally displayed on YouTube. Here you can read the description and comments, browse related videos or interact with the video's author, for instance by subscribing or liking the video.

I have tested the script in Firefox with the Greasemonkey extension installed, and in Google Chrome where it works right out of the box.  It may work in other web browsers as well but I have not tested that at all. Check out this guide to find out how you can install the script in Google Chrome.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Deepanker said on May 6, 2013 at 12:06 am
    Reply

    :D yeah it worked

    Now i can enjoy video in full browser window..

  2. timothy lawyer said on February 23, 2017 at 5:53 pm
    Reply

    how do i disable it ? i accidentally removed it from my toolbar.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.