YouTube HQ (Fast)

By JoeSimmons Last update Sep 8, 2008 — Installed 2,610 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Avindra V.G. Scriptwright

hey joe, i know youre not workin on this or anything, but i wanted to share this with you:

if(!/fmt=(18|6)/.test(document.URL))
with(document.getElementById("movie_player")) {
   setAttribute('flashvars', getAttribute("flashvars").replace(/&fmt_map=[^&]*/, '&fmt_map=18/512000/9/0/115').replace(/&vq=[^&]*/, '&vq=2'));
   src+="#reload"
};
var a=document.evaluate("//a[contains(@href,'watch?v')]",document,null,6,null), l=a.snapshotLength;
for(i=0;i<l;i++)
   a.snapshotItem(i).href+="&fmt=18"

mainly, the src+="#reload" part, which reloads the video effortlessly. This sample code still doesn't work to making all videos HQ though, so I'm still sticking with my primary ajax method on this script.

 
jobo User

Yeah your script works for that video.
But it doesn't work for this one: http://www.youtube.com/watch?v=zVhk7Kq1rEU
The difference in this video is also very noticeable. You can read the menu bar of the vlc player only in the hq version.

avg's script (http://userscripts.org/scripts/show/31864) works for both videos. Don't know what's the problem with yours.

 
JoeSimmons Script's Author

Try a different video like http://www.youtube.com/watch?v=FJiNnsLFo1I. It's very noticeable. First try it without &fmt=18 and the script on, then try it with &fmt=18 and the script off.

 
jobo User

Script doesn't work.
There was a difference in quality when I added &fmt=18 to the url but the script didn't do it.

 
dkhal Scriptwright

i like this 1
how do you know the difference?
i didnt feel it? is it in sound, or graphic?
and i'm in the middle of a problem in my new script
u think u could give me a hand :) ?
i just need a command to CENTER align the player on youtube
tried everything, yes Everything i mean it!! and couldn't find what i want i would be glad if you did and posted a comment on the other script so i see it asap
thanks a lot!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel