0.99.0Changed the link from "YouTube HD Ultimate Options" to "Ultimate Options". Fixed future bugs that would've happened. Massively shortened option loading code. E.g:autobuffer : new Array("Autobuffer", GM_getValue("autobuffer", false), "If you have a slow computer or a slow connection, turn this on to let the video download while it's paused, then you can hit the play button."),to: autobuffer : new Array("Autobuffer", false, "If you have a slow computer or a slow connection, turn this on to let the video download while it's paused, then you can hit the play button."),Added "fit to window" modefunction fitToWindow() {
player.style.marginLeft = (window.innerWidth >= 960 ? Math.floor((985 - window.innerWidth) / 2) : "0") + "px";
player.style.width = (window.innerWidth - 20 ) + "px";
player.style.height = (window.innerHeight - 53) + "px";
}
|