My favorites | Sign in
Logo
             
Search
for
Updated Jul 02, 2009 by aavindraa
Labels: Release
0997  
0.99.7 Updates

Added more download links

I 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 options

For options that are ALWAYS on, I just initialize the flashvars with it:

var vars="&enablejsapi=1&vq=2&jsapicallback=onYouTubePlayerReady";

Hide HD Watermark

For 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 Break

The 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 overlay

Removed if(true) {} wrapper and restored old css values.

Fix View Mode logic

Options 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;

Sign in to add a comment
Hosted by Google Code