Youtube without Flash Auto

By YoutubeWithoutFlash Last update Jan 30, 2011 — Installed 97,152 times.

script is broken again as of 10/22/2009

in
Subscribe to script is broken again as of 10/22/2009 19 posts, 9 voices



unimx_0001 User
MozillaWindows

script no longer works on any section of youtube.

 
themiddleman Scriptwright
FirefoxX11

yep, working on it :)

 
themiddleman Scriptwright
FirefoxX11

I fixed it, and sent it to Arne so he should upload it shortly, hopefully.

 
unimx_0001 User
MozillaX11

ok, cool.

 
Davey Jones User
FirefoxWindows

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.

 
themiddleman Scriptwright
FirefoxX11

EDIT: It is up now so download it from there.

 
doman18 User
OperaX11

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.
Good luck with your work!

 
YoutubeWitho... Script's Author
FirefoxX11

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!

 
themiddleman Scriptwright
FirefoxX11

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.

 
tydell User
MozillaX11

I have to say that script doesn't work for me with opera anymore.
It worked some 2 weeks ago, and now new version of script make my opera dead
When i went to youtube.com and want to watch some movie, I see window of mplayer for a second (with downloads links , preferences, links to change video quality etc) and after a second opera crashes and restart
Maybe someone could help

 
YoutubeWitho... Script's Author
FirefoxX11

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.

 
tydell User
OperaX11

Thanks very much, it seem's like you said, that the problem was resizing button. Now script works very good.
Thanks for help.

 
gabriele User
ChromeX11

broken again today. it was usefull on low powered eeePC
using chromium, not chrome

 
YoutubeWitho... Script's Author
FirefoxX11

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?

 
chromeuser8 User
ChromeX11

A few fixes:

Change

for(var i = 0; i < formatsAvailable.length; i++) {
if(typeof(urlsAvailable[i]) != "undefined") {
var id = i;
var playLink = document.getElementById('play' + formatsAvailableNames[i]);
playLink.addEventListener("click", function(event) { writePlayer(formatsAvailable[id]) }, true);
}
}

to

for(var i = 0; i < formatsAvailable.length; i++) {
if(typeof(urlsAvailable[i]) != "undefined") {
var playLink = document.getElementById('play' + formatsAvailableNames[i]);
playLink.quality = formatsAvailable[i];
playLink.addEventListener("click", function(event) { writePlayer(this.quality) }, true);
}
}

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

 
YoutubeWitho... Script's Author
FirefoxX11

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);
    }
}

 
themiddleman Scriptwright
FirefoxX11

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.

 
Numbski User
FirefoxMacintosh

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?

 
Numbski User
FirefoxMacintosh

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.

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