One of the things that have bothered me on YouTube for a while is the static player that the site uses. While you can select a small, large or full screen player, the site does not support anything in between.
Small is the default player size for instance and no matter which resolution of the video and browser window size you select, it stays the same size.
The same is true for the large player which does not adjust to screen size or resolution as well.
Up until now you had to use third-party tools such as this YouTube player resize extension for Firefox and Chrome, or the Unique YouTube Skin userscript to adjust the size of the player window beyond its limits.
Google is currently running an experiment on YouTube that enables dynamic player sizes on the video hosting site. Experiments, for those who do not know, are tests enabled for some YouTube users to see how they react to the change.
A cookie that is set on the user system determines whether a visitor of the site takes part in the experiment. So, all you need to do to take part is to set that cookie as well.
Here is what you need to do for that
document.cookie="VISITOR_INFO1_LIVE=E_OLzg3yeLw; path=/; domain=.youtube.com";window.location.reload();
The effect is the following: Whenever you resize the browser window, YouTube will automatically adjust the size of the player and the video's resolution if possible to match it.
So, a 360p video playing in the small player is automatically enlarged when the browser window exceeds certain thresholds. What's interesting here is that there are more than the two sizes supported by default on YouTube, and that the quality and size is adjusted in both directions.
If you do not want to be part of the experiment for whatever reason, you can leave it at any time. To do so, simply clear all YouTube cookies. Alternatively, repeat the steps outlined above but use the following cookie information instead:
document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();
This nulls the cookie data and returns you to the default player behavior on the site. (via Googlesystem)
Please note that experiments may come and go at any time. What works right now may stop working the next minute, or be implemented natively on YouTube.
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:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.