Large

YouTube HD Ultimate

By Avindra V.G. Last update Dec 10, 2010 — Installed 402,083 times.

Autoplay Variable Breaks Script?

in
Subscribe to Autoplay Variable Breaks Script? 11 posts, 2 voices



RHPT User

If I change the autoplay variable to "false", then the script won't switch to the high quality video. I am using FF 3.04 on Vista Ultimate (x32). Is this a known issue, or am I missing something?

 
Avindra V.G. Script's Author

I believe it still switches to HQ.... logically the only difference that autoplay makes is setting the autoplay parameters in the video.

 
RHPT User

I know it doesn't make sense, but i've tried this on two different installs and two different PCs. Setting autoplay to false doesn't switch the video to HD. I tried it with the videos below

http://www.youtube.com/watch?v=DoQE4Q9U_pE

http://www.youtube.com/watch?v=yIhlkbam3_U

 
Avindra V.G. Script's Author

Ok I decided not to be lazy and actually try it out. First things first, about the videos:

http://www.youtube.com/watch?v=DoQE4Q9U_pE  // NOT an HD video
http://www.youtube.com/watch?v=yIhlkbam3_U  // IS an HD video

I set autoplay to false as you did, and both videos loaded in their respective high qualities. The only thing I can think of is that you have two versions of my script installed. Go to "manage scripts" from the greasemonkey icon in the statusbar, uninstall every instance of this script, and then install it again from this site.

 
RHPT User

I uninstalled and reinstalled your script, and its still not working on my XP (SP3) / Firefox 3.04. When Autoplay is set to off, the switch to the HD switch does not work.

I tried this video: http://www.youtube.com/watch?v=RQeWbC6ydsk

 
Avindra V.G. Script's Author

Okk.... not every video is in HD, like I mentioned before. This video DEFINITELY isn't in HD. Question:

Do the player's colors change at least?

 
RHPT User

That video has a "Watch in high quality" option for me. Does that not mean it is in HD, or a version in HD?

 
RHPT User

Also, this video: http://www.youtube.com/watch?v=yIhlkbam3_U, when I go to it, it still has the "Watch in HD" link.

The player's colors do change, however.

 
Avindra V.G. Script's Author

If the color changed, that means it switched to high quality.

That video has a "Watch in high quality" option for me. Does that not mean it is in HD, or a version in HD?

No. HD and HQ are completely different: A difference between about 600x400 resolution and 1280x700 with excellent sound quality. The fact that you see "watch in high quality" only determines if there's an easy way to load the HQ version.

If all videos were like this, this script would literally be one line of code: unsafeWindow.changeVideoQuality(2). But this isn't the case. Perhaps you can take screenshots of the regular video, and the video the script loads (preferably the same frame, of course), then put it here?

To post images, use:

<img src="link to image" />

 
RHPT User

I think I figured out the problem.

The script doesn't change the text "Watch in High Quality" until the video plays. After the video starts playing, the text changes to "Watch in normal quality".

 
Avindra V.G. Script's Author

Thats not the problem.... that's actually a good thing. If you are seeing "watch in normal quality", this means that the HD / HQ version was loaded.

Perhaps the problem is resolved... I noticed that YouTube updated their system, so I modified the script. See if it works now.

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