YousableTubeFix

By Mindeye Last update Feb 2, 2012 — Installed 594,838 times.

Script updated

in
Subscribe to Script updated 15 posts, 6 voices



Mindeye Script's Author
FirefoxWindows

- The script respects now the user settings about comments ratings and filters when the option to show more comments is active
- The Install link of the update notification hides the notice if you click on it
- Two separate improvements have make the autoselection of the best/fastest quality available faster1
- The code to stop the video autoplay have been rewritten to be simpler and more stable. Please post your feedback

Note 1: The improvements to the code are:
- The script doesn't wait to get the availability of all the video formats to change to the best/fastest quality. For example, if format 22 is available and the user has selected to get the best quality available, it doesn't have to wait to see if format 35 or 18 are available, because they have less quality
- The script assumes now that if a format is in the original fmt_map variable of the video, then it is available. It seems to work well, but please notify me if you find a false positive

 
Karsonito Scriptwright
FirefoxWindows

Very useful update!
Now flash isn't disappear when opening youtube - earlier flash was being replaced by movie thumbnail.

 
Dark_Rak3r User
FirefoxWindows

Hey, the new update is great. Unfortunately, the prevent only autoplay is only partially fixed for me. The youtube player does prevent autoplay but won't buffer, i.e. I have to press play to get it to start loading. Any ideas? (I reenabled flashblock and noscript. Could this be the problem?)

 
Mindeye Script's Author
FirefoxWindows

The problem with Flashblock isn't solved in this update, I will try to find a way around it.

You can try editing the script and substituting:


function reloadPlayer() {
if (isVideoIcon()) return;
var playerParent = player.parentNode, playerNextSibling = player.nextSibling;
playerParent.removeChild(player);
playerParent.insertBefore(player, playerNextSibling);
}

...with...


function reloadPlayer() {
if (isVideoIcon()) return;
player.src = player.src;
}

That change may solve some problems, but it will bring other ones (it breaks the script in Firefox 2, for example). I will try to find a better way.

 
Dark_Rak3r User
FirefoxMacintosh

Is the problem only with flashblock? I can live without it being installed.

 
Mindeye Script's Author
FirefoxWindows

I think so, but you can test if it's the problem. Disable Flashblock, restart Firefox and check if the problem is gone.

 
Dark_Rak3r User
FirefoxMacintosh

The disabling flashblock fix works. Is there any way for the script to autoplay if playlist autoplay is enabled?

 
leecovuk User
FirefoxWindows

Hello,

I haven't used this script for a while, but after trying it now for a few days, 'no autoplay+buffer' seems to work consistently, so well done Mindeye!
(I'm not using Flashblock and never have)

Lee
UK

 
Nintendo Man... User
FirefoxWindows

Dark_Rak3r, just put youtube in FlashBlock's whitelist.

 
Dark_Rak3r User
FirefoxWindows

The problem with flashblock did not have to do with the whitelist. Somehow the actual flashblock addon itself was preventing the autoplay from working, you'll have to ask around to find out how though.
Also, the autoplay seems to have broken again. I'm currently using my home profile which has a bunch of addons and scripts, so I will need to test it on a new profile to verify whether it is my computer or the script itself. (youtube has recently made some changes to the ui, maybe something there broke it.)

EDIT: I have tried this on my clean FF profile and it is still broken. As I said before, youtube has been doing work on the "masthead", the navigation bar near the top of the page. They may have been doing work elsewhere that has broken the script, but I'm not sure why it would. Can anyone else confirm whether or not the script is working?

EDIT: The expand info automatically seems to have broken as well.

 
leecovuk User
FirefoxWindows

Hello Dark_Rak3r,

I've just tested a little on a new clean Firefox profile, and 'prevent only autoplay' is working fine for me. (I'm assuming you are meaning that same setting.) I can see the buffering 'red bar' progressing automatically without me pressing any buttons.

'Automatically expanded' however is broken for me.

Lee
UK

In case relevant, I'm using Firefox 3.5.2 on Windows XP.

 
Dark_Rak3r User
FirefoxWindows

The prevent autoplay is fixed. I was replying to Nintendo Maniac 64. Just having flashblock installed broke the script.

 
leecovuk User
FirefoxWindows

OK, I see, Dark_Rak3r.

In general, I'm a little mystified why those of you having a clash with the Flashblock addon keep using it. I know it isn't a solution as such, but couldn't you use another addon such as NoScript instead? I'm no expert on NoScript but I assume you could set it to only block/restrict Flash, if that's what you are using Flashblock for. (add an exception of course for Youtube)

Lee
UK

 
Dark_Rak3r User
FirefoxWindows

I stopped using flashblock. Still use noscript though. Flashblock was mainly for preventing autoplay on tabbed flash games and youtube vids, but now yousabletubefix does that for me and I don't play many flash games.

 
LordJon User
FirefoxWindows

Finally the thumbnail preview is fixed when stop autoplay! Thank you! =D

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