// ==UserScript==
// @name          Youtube Video Resizer
// @namespace     http://userstyles.org
// @description	  Resizes the video player in Youtube to fill up more space, and shoves the sidebar underneath.  Thanks to Diddle for helping fix some bugs.
// @author        steppres
// @homepage      http://userstyles.org/styles/3180
// @include       http://www.youtube.com/watch*
// @include       http://au.youtube.com/watch*
// ==/UserScript==
(function() {
var css = "#watch-this-vid, #watch-player-div, #movie_player {width: 960px !important; height: 746px !important;} #watch-player-div {padding: 0px !important;} #watch-other-vids, #watch-channel-brand-div {margin-top: 10px !important;} #watch-channel-brand-div { display: none !important }\n.longform#watch-vid-title {margin-right: 5px !important;}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();
