Script Summary: A lightweight and non-intrusive userscript that control video playback and set the preferred player size and playback quality on YouTube.
The script uses the official YouTube Player API. That means, it works seamlessly and is probably more stable than other solutions.
Tested in Firefox 27.0, Opera 19.0 and Chrome 31.0.
You can also find this script on GitHub.
Comments and Critics are welcomed.
Sorry for my English.
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:
You can choose your preferred playback quality which is set automatically when the video loaded. Beside the standard resolutions (144p, 240p, 360p, 480p, 720p, 1080p, 1440p) there are two special options:
|AUTO||Let the player choose the proper quality. (default)|
|ORIGINAL||Set the highest available quality.|
Please keep in mind that YouTube tends to override your preference when you switch to fullscreen and you have chosen a quality below 720p.
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.|
You can set the default playback state:
|START||The video starts as soon as possible. (default)|
|PAUSE||The playback is paused but the player keep buffering.|
|STOP||The playback is stopped and the player doesn't buffer either.|
|AUTO PAUSE||Like PAUSE but only for videos opened in a background tab, and also the playback will automatically be started when the tab gets focus.|
|AUTO STOP||Like AUTO PAUSE but the playback will be stopped instead of paused.|
"It would be great if I could disable annotations permanently."
"Why the script doesn't work for embedded videos?"
English, Hungarian, Dutch (Mike-RaWare), Spanish (yonane, Dinepada, jdarlan), German (xemino, ich01), Portuguese (Pitukinha), Greek (TastyTeo), French (eXa), Slovenian (Paranoia.Com), Russian (an1k3y), Hebrew (baryoni), Chinese (blankhang), Polish (mkvs), Swedish (eson), Ukrainian (mukolah)
If you want to translate this script to your language, please send me a private message with your e-mail address and I will give you access to a Google Spreadsheet where you can conveniently edit your translation and keep it up to date.