script is broken again as of 10/22/2009
![]() ![]() |
script no longer works on any section of youtube. |
![]() ![]() |
yep, working on it :) |
![]() ![]() |
I fixed it, and sent it to Arne so he should upload it shortly, hopefully. |
![]() ![]() |
ok, cool. |
![]() ![]() |
the Free Youtube userscript is a backup for now, although its nowhere near as good. http://userscripts.org/scripts/show/34765 Also, is there another media player out there to use with XP besides VLC? The vlc mozilla plugin leaves much to be desired. I wish there was just a great player plugin for mozilla that replaces ALL flv content with a well designed and LIGHT player. Too bad I can't make mp classic do it, it's my favorite media player. |
![]() ![]() |
EDIT: It is up now so download it from there. |
![]() ![]() |
Man, you are the boss!! This plugin its a long waited cure for linux flash problems. As we know flash linux wasnt, isnt and i think wouldnt be as fast as it is in windows and you just solved this problem. However to be complete substitiute of flash plugin you should add Play/Pause option because its sometimes very usefull.
|
![]() ![]() |
Sorry that it took me a while. themiddleman's version is up now. Thanks a lot to themiddleman for fixing the script and adding more options! |
![]() ![]() |
doman18: We actually don't add the play/pause button, that is part of the browser plugin, I know the totem plugin has controls and the vlc plugin doesn't (although the vlc streams better IMO) and with the vlc plugin you can click the video (to focus on it) and press space to pause/play it, and also double click it to fullscreen. Well I see youre using opera and I don't know how that works with the player, but I will check it out. |
![]() ![]() |
I have to say that script doesn't work for me with opera anymore.
|
![]() ![]() |
Thanks for the message. The problem seems to be the code that sets the size of the player so that the script works with the Youtube resize button. I don't know how to resize the video for Opera, so I just disabled the feature for Opera for the moment. The current version shouldn't make Opera crash any more. (At least it works for me.) I don't have much time in the next days, but if I find out how to make resizing work with Opera (or as always, if somebody else knows how to do it), I'll upload a new version. |
![]() ![]() |
Thanks very much, it seem's like you said, that the problem was resizing button. Now script works very good.
|
![]() ![]() |
broken again today. it was usefull on low powered eeePC
|
![]() ![]() |
It's still working for me with Chrome, and it shouldn't make any difference for Chromium. Do you get an error message or something? |
![]() ![]() |
A few fixes: Change for(var i = 0; i < formatsAvailable.length; i++) {
to for(var i = 0; i < formatsAvailable.length; i++) {
Before that, all the links pointed to the last value of id (highest quality) Also, change if(/Opera|Safari|Epiphany|Chrome/.test(navigator.userAgent)) { to if(/Opera|Safari|Epiphany|Chrome|Midori/.test(navigator.userAgent)) { to get the script working with Midori |
![]() ![]() |
Ah, JavaScript closures are a little tricky. Thanks for mentioning that the script doesn't behave correctly here. However, your solution doesn't work with Firefox. I'm going to do it this way:
for(var i = 0; i < formatsAvailable.length; i++) {
if(typeof(urlsAvailable[i]) != "undefined") {
var playLink = document.getElementById('play' + formatsAvailableNames[i]);
var writePlayerFunction = function(qual) {
return function (event) {
writePlayer(qual);
};
};
playLink.addEventListener("click", writePlayerFunction(formatsAvailable[i]), true);
}
}
|
![]() ![]() |
Thanks chromeuser8 I was fighting that one a while and thought I worked it out, but I guess not. I must say It works much better now :D. |
![]() ![]() |
Hate to bump this, but I'm on a PPC Mac running 10.5 and Firefox 3.5.5, and for the vast majority of videos on YouTube, this doesn't work and I wind up using the Flash version. I typically wind up getting "Additional Plugins Required". I thought I had a flv plugin installed in QuickTime but apparently there's more to it than that? Or am I making this difficult and should try to get a vlc plugin? |
![]() ![]() |
As an FYI - I just installed the VLC plugin, and the videos play, but without playback controls. Apparently you have to use a javascript function to make them appear: http://wiki.videolan.org/HowTo_Integrate_VLC_pl... Annoying, I know, but if there's some way to call that function that would fix the vlc plugin users not on linux. |






