A lightweight and non-intrusive userscript that control autoplaying and set the preferred player size and playback quality on YouTube.
The script uses the official YouTube Player API, which means, it works seamlessly and is probably more stable than other solutions.
Tested in Firefox 19.0.2, Opera 12.11, Chrome 23.0.
Manual
A new button with a "cogwheel" icon will appear below the video player. When you click the button, a panel will show up with three options:
Quality
You can choose your preferred playback quality which is set automatically when page loaded. Beside the standard resolutions (240p, 360p, 480p, 720p, 1080p) there are two special options:
AUTO: Let the player choose the proper quality. (default)
ORIGINAL: Set the highest available quality.
Size
You can set the default player size to:
AUTO: Let YouTube handle the player size. (default)
WIDE: Set the wide size as the default.
FIT: Set the player width the same as the page width, keeping the aspect ratio.
Auto play
You can control when the player starts playing the video:
ON: The video starts as soon as possible. (default)
OFF: The video is paused by default.
AUTO: The video starts when the page gets focus the first time. This means, when you open a video in a background tab, the video won't start until the tab become visible.
Translations
English, Hungarian, Dutch (by Mike-RaWare), Spanish (by yonane), German (by xemino), Portuguese (by Pitukinha), Greek (by TastyTeo), French (by eXa), Slovenian (by Paranoia.Com), Russian (by an1k3y), Hebrew (by baryoni), Chinese (by blankhang), Polish (by mkvs), Swedish (by eson)
Related
GitHub repository
Userscripts.org page
Gresemonkey for Firefox
Tampermonkey for Google Chrome
Source
highlightChangelog
| 1.6.2 | mar 29, 2013 | Polish and Swedish translations added, French and Chinese translations updated. Layout and compatibility fixes. |
| 1.6.1 | mar 09, 2013 | Layout fixes. Fix an issue of the auto pause feature with the HTML5 player. Chinese translation added. |
| 1.6 | dec 09, 2012 | Update the interface to the new YouTube layout. Fix the rebuffering issue. Code cleanup. |
| 1.5.8 | sep 02, 2012 | Handle videos with start-at URLs, also known as deep-linking. The quality selector now covers all available playback qualities. Define some additional metadatas for Greasemonkey and Scriptish. Fix Firefox 15 compatibility issues. Some code cleanup and improvements. |
| 1.5.7 | jun 22, 2012 | Experimenting with the Visibility API. Fix script not loading in Chrome/Tampermonkey. Quality selector improvements. |
| 1.5.6.1 | may 21, 2012 | Quick fix: Don't mute when quality changed. |
| 1.5.6 | may 20, 2012 | Some optimization to improve stability. Prevent the script to run inside a frame. Hebrew translation added. |
| 1.5.5 | apr 14, 2012 | Fix a bug which broke some default player functionality. Experimenting with auto mute until auto pause take effect. Russian translation added. |
| 1.5.4 | feb 12, 2012 | Compatibility update. Player size selector added. Slovenian translation added. |
| 1.5.3 | dec 17, 2011 | Support for the HTML5 video player. Follow the new interface design. Minor fixes. |
| 1.5.2 | sep 22, 2011 | Compatibility update. French translation added. |
| 1.5.1 | feb 05, 2011 | Quality selector fixes. Greek translation added. |
| 1.5 | dec 24, 2010 | Compatibility and layout update. New Autoplay option: AUTO (beta) |
| 1.4.3 | jul 24, 2010 | Improved compatibility. Portuguese translation added. |
| 1.4.2 | jun 23, 2010 | Another quick fix for Safari. Bugfix for Chrome. |
| 1.4.1 | jun 22, 2010 | Quick fix for Safari. German translation added. |
| 1.4 | jun 21, 2010 | Interface update. Code refactoring. |
| 1.3.1 | apr 15, 2010 | Compatibility update. Added "very high" option to the quality selector. Bugfix for Opera. Drop IE support. |
| 1.3 | apr 09, 2010 | Update for the new YouTube interface. Improved update functionality with YQL. |
| 1.2 | feb 26, 2010 | Trying to solve interference with other YouTube scripts. Update checker functionality added. General improvements and bugfixes. |
| 1.1.3 | jan 17, 2010 | Spanish translation added. Bugfix for Chrome. |
| 1.1.2 | jan 17, 2010 | Dutch translation added. |
| 1.1.1 | jan 16, 2010 | Internet Explorer support. |
| 1.1 | jan 15, 2010 | Opera and Chrome support. Store the configuration persistently with Greasemonkey. |
| 1.0.1 | jan 01, 2010 | Minor optimization. |
| 1.0 | jan 01, 2010 | Initial release. |

