Added more download linksI completely forgot about fmt=34 and fmt=35, both of which are decent quality. This adds functionality back from REALLY old versions of my script: if(/(?:^|,)34/.test(swfArgs.fmt_map))
downloads["hq flv"]="34";
if(/(?:^|,)35/.test(swfArgs.fmt_map))
downloads["hq flv (alt)"]="35"; Optimized loading optionsFor options that are ALWAYS on, I just initialize the flashvars with it: var vars="&enablejsapi=1&vq=2&jsapicallback=onYouTubePlayerReady"; Hide HD WatermarkFor those of you who didn't like that watermark. This takes care of it: if(opts.hideHD) {
ads.push("watermark");
ads.push("hd_watermark");
}Fixed shortcuts being toggled when typing in boxes if("INPUTEXTAREA".indexOf(e.target.nodeName) >= 0) return;Fix July 2, 2009 Script BreakThe script breaks because YouTube's toogleWidePlayer function is messed up. So I made my own: function toggleWidePlayer(which)
{
var A = $("baseDiv");
if(which) {
if(A.className.indexOf("watch-wide-mode")==-1)
A.className += " watch-wide-mode";
} else {
if(A.className.indexOf("watch-wide-mode")!=-1)
A.className = A.className.replace("watch-wide-mode", "");
}
} Fix Cinema Mode overlayRemoved if(true) {} wrapper and restored old css values. Fix View Mode logicOptions that previously required bigMode now operate without it. Simple fix that will probably make users happy. if(!opts.bigMode && (opts.fit || opts.true720p))
opts.bigMode = true;
|