YouTube doesn't work: Shows "go upgrade" message instead of video

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

14. April 2010, 20:56:53

pixartist

Posts: 18

YouTube doesn't work: Shows "go upgrade" message instead of video

Just this evening Youtube stopped working in opera for me! I'm getting a message "Old Flash? Go upgrade!" even though i have the lates flash player installed. It worked until a few hours ago, wtf?!


Moderator note: Edited the previous title, "Youtube doesnt work anymore", to make it more relevant and descriptive.

14. April 2010, 20:57:56

Miths

Posts: 60

Same problem here - just posted in the other Flash thread, http://my.opera.com/community/forums/topic.dml?id=521491

14. April 2010, 21:09:03

DjScream3

Posts: 4

same problem... google sux...

14. April 2010, 21:10:47

CombatWombat

Posts: 12

I have the same problem:furious: please fix it.

14. April 2010, 21:16:52

jinru

Posts: 12

As I sad in this thread http://my.opera.com/community/forums/topic.dml?id=521491
Right click on page -> Edit Site Preferences... -> Go to "Network" tab -> Set "Browser Identification" as "Mask as Firefox"

14. April 2010, 21:17:01

Pesala

Reclining Buddha

Posts: 27328

Originally posted by CombatWombat:

please fix it.


YouTube broke it, so you should be asking them to fix it.
Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

14. April 2010, 21:18:17

pixartist

Posts: 18

Originally posted by jinru:

As I sad in this thread http://my.opera.com/community/forums/topic.dml?id=521491
Right click on page -> Edit Site Preferences... -> Go to "Network" tab -> Set "Browser Identification" as "Mask as Firefox"


doesnt work

14. April 2010, 21:23:24

Mickeyjoe-Irl

Outcast Genius

Posts: 482

I get the upgrade message on the YouTube site, but YouTube videos embedded on My Opera blog pages work fine. confused
"A signature always reveals a man's character - and sometimes even his name." - Spike Milligan

14. April 2010, 21:26:06

Avola

Posts: 577

This sucks. Youtube really messed up with this new design.

14. April 2010, 21:32:19

ShoeyPeachew

Posts: 73

I just came here to report this.

Ummmm... I'm trying to watch THIS 1080p video but youtube keeps asking me to upgrade flash. This is serious problem.

14. April 2010, 21:33:32

fuzz1337

Posts: 13

Same problem. Worked fine few hours ago, now I get this Old Flash? Go upgrade! crap.

The ****?

If you open video from posters profile page it works. Cool.

14. April 2010, 21:40:38

eetest

Posts: 36

same here.
It works a couple of hours ago but now all the videos I am trying to watch on youtube got that nasty GO UPGRADE thing.
It works on other browsers (IE and Chrome)
I have tried all the solutions offered on this forum, like clean install, deleting cookies, etc. No help at all.
I am frustrated.
Come on Opera, I really want to be loyal but you are pushing me!

14. April 2010, 21:41:19

Araiel

Posts: 82

I just had this issue with Youtube. All videos just told me to upgrade Flash, even videos that worked fine earlier today. And this happened while I had Opera masking itself as Firefox in the youtube.com site preferences. Using the Delete Private Data feature in Opera somehow solved it, though, and Youtube works fine again.

14. April 2010, 21:42:44

Pesala

Reclining Buddha

Posts: 27328

Originally posted by eetest:

Come on Opera,


How can this be a problem with Opera when it was working this morning on the same version? Its a site problem caused by a change/bug in the site's code. Read the sticky thread.
Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

14. April 2010, 21:47:26

eetest

Posts: 36

Originally posted by Pesala:

Originally posted by eetest:

Come on Opera,


How can this be a problem with Opera when it was working this morning on the same version? Its a site problem caused by a change/bug in the site's code. Read the sticky thread.



As I mentioned I have tried ALL the solutions offered on this forum, including those in the thread you are referring.
Frankly I am not an expert in web browsing.
I came up to the conclusion that Opera is the root of problem is because youtube is WORKING on other browsers on my machine.

14. April 2010, 21:47:44

ShoeyPeachew

Posts: 73

Well, I'm not able to watch my 1080p video in 1080p in either ff or ie, only crappy 720p and lower. So not sure wat's going on.

14. April 2010, 21:52:42

benryves

Posts: 80

As a temporary workaround, http://www.youtube.com/xl is still working fine. What I find odd is that the Flash player controls and spinning throbber appear briefly before being replaced by the Flash upgrade notice. Oh well - a Google site isn't a Google site unless some of the features are broken in Opera. whistle

14. April 2010, 21:54:06

huyche

Posts: 1

Same here. Suddenly stopped working for me today, haven't even closed the browser for whole day.
Will try to uninstall/reinstall flash tomorrow and so on.

14. April 2010, 22:03:17

matejakezman

Che Guevara

Posts: 367

yup. unable to watch youtube.
Tito je jedini Bog

14. April 2010, 22:04:08

GobanToba

Posts: 31

I found a sort of workaround. You can click on the "embed" link below the video and use the url inside that code.

Or manually like this example below:

http://www.youtube.com/watch?v=9BnLbv6QYcA <- Link does not work give you "upgrade" error

change it to:

http://www.youtube.com/v/9BnLbv6QYcA <- Now it will work.


It is shown in fullscreen though. To me it looks like a problem with the youtube interface. Wether it's Opera or Youtube it is probably not a Flash issue as all videos play just fine. So you can stop reinstalling flash a dozen times like tried :-)


Not a fix, but at least you can watch a video if you need to until fixed.

14. April 2010, 22:07:11

Jawbreaker

Posts: 12

If someone forces me to choose, i'll choose Opera over Youtube any time, any day, everywhere.

14. April 2010, 22:11:46

GobanToba

Posts: 31

Also, you can go to the user's channel and watch video fine, like this for example,

http://www.youtube.com/user/TheOnion

14. April 2010, 22:12:35

wengweng

Posts: 19

I'm having the same problem here, but I found a (crappy) workaround though. I simply reload the page and press stop before it is finished loading... Somehow the flashplayer shows up and I'm able to play the video. So my guess is it could be a bug in the script of the youtube site for flash detection...

14. April 2010, 22:20:33

sevenred

Posts: 327

Originally posted by Pesala:

Originally posted by eetest:

Come on Opera,


How can this be a problem with Opera when it was working this morning on the same version? Its a site problem caused by a change/bug in the site's code. Read the sticky thread.


I both agree and disagree. It's probably a change in the code like you say, but I don't think it's a bug. It's just that all the other browsers CAN handle this new code, and Opera can't.

Or maybe it is a problem with the flash video just disappearing? Because when you load the page, you briefly see a blank square where the video is before it goes black and gives you the "go upgrade" error.

14. April 2010, 22:30:51

GobanToba

Posts: 31

Originally posted by mcclausky:

Suppose this is a YouTube error (flash or their code) and it's not Opera's fault. Fine, but....if the rest of the browsers can handle it with no problems, then why can't Opera?



I see where you are coming from, but that is why the web has become some standards crappy.

In your example, let's say there is a bug in the Youtube code. Firefox, IE, Chrome, etc are robust enough to workaround it.

Ok, fine, but now Youtube has yet more bad code. How does that help things?

The Opera way, now we can see there is a bug. Youtube can fix and everything benefits and it's much better not to leave bugs around.


Your basically saying if you see a bug, do your best to pretend you didn't see it. That's not productive for anybody.

14. April 2010, 22:30:58

pixartist

Posts: 18

Originally posted by Pesala:

Originally posted by mcclausky:

YouTube right now works in Firefox, Chrome, Safari and IE,


Please, educate yourself about the issues.


Please, educate yourself about the issues.

14. April 2010, 22:33:39

kaffepro

Posts: 1

Another way to fix it is to go to Block content... -> Details -> Add this url: "http://s.ytimg.com/yt/jsbin/*"

This removes all the javascripts though, so pull-down menus etc. also stop working.

14. April 2010, 22:36:27

zaratustra06

Posts: 7

Oh hell, I even reinstalled Opera few minutes ago... :S

14. April 2010, 22:39:06

Jito463

Technogeek

Posts: 199

Originally posted by wengweng:

I'm having the same problem here, but I found a (crappy) workaround though. I simply reload the page and press stop before it is finished loading... Somehow the flashplayer shows up and I'm able to play the video. So my guess is it could be a bug in the script of the youtube site for flash detection...



Wow, that actually works. Youtube has always had some crappy code, but this one just takes the cake. The page works, so long as you don't let it completely load? Gotta love it.

14. April 2010, 22:42:38

ytsmabeer

Frisian translator of Stuff

Posts: 1898

If it first worked an Opera hasn't change that it is clearly an youtube error

So let's discus this on youtube http://www.google.com/support/forum/p/youtube/thread?tid=3cbbb4aafb595f5e&hl=en

14. April 2010, 22:47:01

mcclausky

Posts: 48

Originally posted by GobanToba:


I see where you are coming from, but that is why the web has become some standards crappy.

In your example, let's say there is a bug in the Youtube code. Firefox, IE, Chrome, etc are robust enough to workaround it.

Ok, fine, but now Youtube has yet more bad code. How does that help things?

The Opera way, now we can see there is a bug. Youtube can fix and everything benefits and it's much better not to leave bugs around.


Your basically saying if you see a bug, do your best to pretend you didn't see it. That's not productive for anybody.



I can try to see it from your perspective, but I'm afraid I can't. You talk about being productive.... and how much productive could I be with a browser that would show no problems at all when browsing? I could've watched all the videos I needed with Opera, in a very quick and productive way, but instead I had to temporarily switch to FF and be unhappy. We users don't need to see if there's a bug (and don't want to), because we are just that: "users". Leave the bugs and the contribution a better bugless world for the developers. Our productivity will always be directly related to the satisfaction of our browsing day.

14. April 2010, 22:58:49

ChrisRenucci

Posts: 22

Oh my God, youtube VS Opera 10.5x over and over again! its not stopping.
Why Opera can't handle this new js code, but others can.
Masking as an other Browser is not helping at all.

14. April 2010, 23:01:09

Jito463

Technogeek

Posts: 199

@ChrisRenucci
You're very quick to blame it on Opera, even though it was a recent change to YouTube that caused the issue.

14. April 2010, 23:07:57

Vecanti

Posts: 1035

From the Google site, by Snap100, tested and works for me:

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name YoutubeProtectionRemover
// @include http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end

2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - profit !

14. April 2010, 23:10:03

Jito463

Technogeek

Posts: 199

*EDIT*
Whoops, beat to the punch. wink
/*EDIT*

This was just posted by Snap100 on that Google support link posted above, and it worked for me:

This is a lame solution to "block" the videos to those who uses flashblockers, or adblockers, or etc ... google wants you to watch every one of their ads, i guess money is never enough ...

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name        YoutubeProtectionRemover
// @include     http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end


2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - profit !

14. April 2010, 23:11:06

Originally posted by GobanToba:

I see where you are coming from, but that is why the web has become some standards crappy.

In your example, let's say there is a bug in the Youtube code. Firefox, IE, Chrome, etc are robust enough to workaround it.

Ok, fine, but now Youtube has yet more bad code. How does that help things?

The Opera way, now we can see there is a bug. Youtube can fix and everything benefits and it's much better not to leave bugs around.

Your basically saying if you see a bug, do your best to pretend you didn't see it. That's not productive for anybody.


From a user standpoint, that is soooooo crazy. It's like designing a car that won't go over a pothole without the wheel falling off...and defending it by asking "How else will we find and fix the potholes?"

Let's not point fingers. The problem will get fixed one way or the other, no browser can possibly survive not being Youtube compatible. Who caused the problem is largely academic, both Opera and Youtube need to focus on fixing it. Unfortunately Youtube is not going to be terribly motivated, since we Opera users make up such an insignificant part of their user base. Opera needs to be proactive on this one.

Standards and principals are admirable...but you can't let them stand in the way of basic functionality.

14. April 2010, 23:16:44

ChrisRenucci

Posts: 22

Originally posted by Jito463:

You're very quick to blame it on Opera, even though it was a recent change to YouTube that caused the issue.



sure if other Browsers work, its Opera. What else? Or do you really believe they wrote in the Code to exclude Opera Users?

14. April 2010, 23:18:07

Originally posted by AmigaHeretic:

From the Google site, by Snap100, tested and works for me:



Works for me as well, thanks!

14. April 2010, 23:23:35 (edited)

Veloxi

Posts: 46

Originally posted by AmigaHeretic:

From the Google site, by Snap100, tested and works for me:

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name YoutubeProtectionRemover
// @include http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end

2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - profit !


Sadly this didn't work for me. I created the user JS directory, saved the .js file in there, and restarted my browser, and I still get the "Old Flash? Go upgrade!" error. Boo. sad

Edit: Nevermind, I had to take it off "Mask as Firefox" for it to work, which it does now. *sorry!face*

14. April 2010, 23:21:51

soccerdog23

Posts: 6

Originally posted by Veloxi:


Sadly this didn't work for me. I created the user JS directory, saved the .js file in there, and restarted my browser, and I still get the "Old Flash? Go upgrade!" error. Boo. sad


did you set your userjavascript folder in main options?

14. April 2010, 23:22:34

Jito463

Technogeek

Posts: 199

You shouldn't have to create the directory. You just had to find where Opera was pointing to for UserJS. It's typically located under your Opera profile directory.

14. April 2010, 23:23:35

Vecanti

Posts: 1035

Originally posted by BlindLemonLarry:

From a user standpoint, that is soooooo crazy. It's like designing a car that won't go over a pothole without the wheel falling off...and defending it by asking "How else will we find and fix the potholes?"



That is a bad analogy and not even remotely similar. This is software. A small bug can completely stop an app or crash it.( an = in the wrong place or something)

But even using your analogy. What happens when you start having so many potholes that no cars make it down the road? The solution is to drive a tank? That's the problem that IE brought. It was a tank. It could show any code regardless how bad it was coded. We ended with SO many pottholed roads everyone elses started making HUGE tank like inefficient browsers so they could compensate for the bad roads IE ignored and let deteriorate.

No the solution is not to build tank like cars the solution is to make good roads and keep them in good shape.

A bug that Firefox hits, Opera or Safari might be fine, a bug that stops Opera might be fine on Firefox. That fact is if it IS a bug it should be fixed.

14. April 2010, 23:23:44

soccerdog23

Posts: 6

worked for me thanks for the work around

14. April 2010, 23:24:44

What soccerdog23 said. Preferences/Advanced/Content/Javascript Options. Make sure it's pointing to your script folder.

14. April 2010, 23:26:51

northstar

Posts: 25

Same problems :/ I have gotten a lot of people using Opera, this is major issue.

14. April 2010, 23:28:10

mwpeck

Posts: 59

Originally posted by BlindLemonLarry:

no browser can possibly survive not being Youtube compatible.


I disagree with that, I would gladly use a browser that had no youtube support if it was better then every other browser out there. I may be the minority, but YouTube compatibility is not at the top of the list on important sites for browsers. Now, if it was the Google homepage or something, where a large majority of users access on a daily basis, then yes I would agree with you. But YouTube, while popular, is not enough on its own to kill a browser which doesn't properly support it.

But I do agree with you in saying either side can fix the issue, it seems to me that YouTube is incorrectly interpreting the data Opera is giving it. Opera could change the way this data is given, therefore fixing YouTube, or YouTube could change the way it reads the data. As YouTube is a single site with only a few major browsers to worry about and Opera has to worry about more than just YouTube (millions of other sites), I personally feel YouTube is the one that needs to fix it.

14. April 2010, 23:46:23 (edited)

shu8i

Posts: 9

... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder



i don't understand this part :S copy what address?



14. April 2010, 23:33:06

Jito463

Technogeek

Posts: 199

Originally posted by shu8i:

i don't understand this part :S copy what address?



In "Opera:about", scroll down to the section labeled "Paths" and find the line titled "User JavaScript folder". The directory it points to is where you need to save this to.

14. April 2010, 23:33:31

Miths

Posts: 60

The posted UserJS script doesn't work for me either. I've restarted the browser, double checked the file name, the folder path and made sure Java Script wasn't disabled on YouTube, but the problem persists.

14. April 2010, 23:34:26

Veloxi

Posts: 46

Originally posted by Jito463:

You shouldn't have to create the directory. You just had to find where Opera was pointing to for UserJS. It's typically located under your Opera profile directory.


Well there wasn't one so I had to create it. p

14. April 2010, 23:37:43

Vecanti

Posts: 1035

Originally posted by shu8i:

... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder



i don't understand this part :S copy what address?



You can also just put the script (text file) in a folder where ever you want. Then go to youtube.com , right click somewhere on the page and selecte "Edit Site Preferences", go to the scripting tab and at the bottom you can choose the folder where you put this text file. Again, the folder can be anywhere you want.

14. April 2010, 23:37:46

ChrisRenucci

Posts: 22

Originally posted by mwpeck:

I disagree with that, I would gladly use a browser that had no youtube support if it was better then every other browser out there. I may be the minority, but YouTube compatibility is not at the top of the list on important sites for browsers. Now, if it was the Google homepage or something, where a large majority of users access on a daily basis, then yes I would agree with you. But YouTube, while popular, is not enough on its own to kill a browser which doesn't properly support it.



But I do agree with you in saying either side can fix the issue, it seems to me that YouTube is incorrectly interpreting the data Opera is giving it. Opera could change the way this data is given, therefore fixing YouTube, or YouTube could change the way it reads the data. As YouTube is a single site with only a few major browsers to worry about and Opera


bigsmile bigsmile bigsmile bigsmile bigsmile bigsmile bigsmile

yea, you might even not care about wikipedia, google, youtube, provider mail etc. etc. well, you know, I might be crazy, but I don't give a damn if it has the new standards or not, i just want that the websites work and load fast. And thats what Opera did, till version 10.5x. Im getting more and more used with Chrome, so probably next month leaving Opera, if they don't get youtube working again and I don't just mean this bug, their still many bugs with opera 10.5x and Youtube.

14. April 2010, 23:38:14

browzer1

Posts: 163

Running 10.51 Same problem here. (go upgrade)

Tried deleting cache, cookies etc. Tried the Reload solution. Tried masking. Nothing works.

Issued a site problem report.

This is very serious.

I'll try the userscript solution above, but this is not something the average surfer can/wants/should have to do.

14. April 2010, 23:45:56

Originally posted by AmigaHeretic:

That is a bad analogy and not even remotely similar. This is software. A small bug can completely stop an app or crash it.( an = in the wrong place or something)

But even using your analogy. What happens when you start having so many potholes that no cars make it down the road? The solution is to drive a tank? That's the problem that IE brought. It was a tank. It could show any code regardless how bad it was coded. We ended with SO many pottholed roads everyone elses started making HUGE tank like inefficient browsers so they could compensate for the bad roads IE ignored and let deteriorate.

No the solution is not to build tank like cars the solution is to make good roads and keep them in good shape.

A bug that Firefox hits, Opera or Safari might be fine, a bug that stops Opera might be fine on Firefox. That fact is if it IS a bug it should be fixed.


It's a fine analogy. Today I was driving my car (Opera) and ran into a small pothole (minor Youtube format change) and it stopped my car/app dead in its tracks. I had to use my second car. (Firefox...which I really don't care for, but at least it always runs.)

Not everybody wants to be a martyr, driving around the world in a fragile car that constantly loses wheels in a never ending attempt to rid the world of potholes. Most of us just want to drive and get where we're going, with no drama. So while the standard fanboy response to these situations is "It's not Opera's fault, it's bad code. Opera follows the rules!" that response doesn't accomplish a damn thing. I've seen this scenario play out a hundred times over the past decade, and guess what: ultimately the car/browser is what always get's fixed, not the road. Making noise about who's to blame is just that: noise.

(I gather you're an Amiga enthusiast? I was too...bought an A1000 the very week they were released. Used for it for years, but sadly it eventually couldn't handle potholes worth a damn either! wink )

14. April 2010, 23:47:08

shu8i

Posts: 9

Originally posted by Jito463:

Originally posted by shu8i:

i don't understand this part :S copy what address?



In "Opera:about", scroll down to the section labeled "Paths" and find the line titled "User JavaScript folder". The directory it points to is where you need to save this to.



i created the folder "User JavaScipt" since i didn't have any and driected opera to that folder through preferences (now there is User JavaScript folder C:\Program Files (x86)\Opera\User JavaScript in opera:about), put tha .js into it and still it won't load any youtube videos sad

14. April 2010, 23:49:15

Vecanti

Posts: 1035

Originally posted by ChrisRenucci:

And thats what Opera did, till version 10.5x. Im getting more and more used with Chrome, so probably next month leaving Opera,


You'll be back smile I used just Chrome for a couple of weeks recently. I thought it was faster, but it's not. There's little things I missed about Opera, but when I came back I realized how fast Opera is. Not just loading webpages, but the interface. Going between already loaded tabs is instantaneous. You find after using Chrome for a while you going between already loaded tabs lags after a while. There are benefits to Chrome to, just not enough.

14. April 2010, 23:51:22

Miths

Posts: 60

The UserJS script is working for me now. I had forgotten to change the site preferences back to Identify as Opera.

14. April 2010, 23:51:27

Vecanti

Posts: 1035

Originally posted by BlindLemonLarry:

(I gather you're an Amiga enthusiast? I was too...bought an A1000 the very week they were released. Used for it for years, but sadly it eventually couldn't handle potholes worth a damn either! <img src=" width="17" height="17"> )




Yeah, it really can't handle pot holes. It mostly abused these days. I just like them for playing old games and having fun. I often think Opera is the Amiga of the browser world. I guess I like the underdog.

14. April 2010, 23:53:42

Originally posted by Jito463:

*EDIT*
Whoops, beat to the punch. wink
/*EDIT*

This was just posted by Snap100 on that Google support link posted above, and it worked for me:

This is a lame solution to "block" the videos to those who uses flashblockers, or adblockers, or etc ... google wants you to watch every one of their ads, i guess money is never enough ...

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name        YoutubeProtectionRemover
// @include     http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end


2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - profit !



Works! Thanks a lot!

14. April 2010, 23:56:56

Jito463

Technogeek

Posts: 199

Well, I would never stray the post off-topic, but since someone else already did... wink

I loved my Commodore Amiga 2000, back in the day. Unfortunately, the video started dying on it, and I was never able to fix it. I still miss that machine, with 1MB of RAM and dual 3.5" floppies (even had a 5.25" floppy on a IBM emulator card, but I never got that working right). That was my first "PC" (not counting the Commodore 64 as a PC).

It's also the first computer I learned how to take apart, which led me into the computer repair field I work in today.

14. April 2010, 23:57:53

lt.Catscratch

Posts: 5

Preferences
C:\Documents and Settings\*\Application Data\Opera\Opera\operaprefs.ini
Saved session
C:\Documents and Settings\*\Application Data\Opera\Opera\sessions\autopera.win
Bookmarks
C:\Documents and Settings\*\Application Data\Opera\Opera\bookmarks.adr
Opera directory
C:\Documents and Settings\*\Application Data\Opera\Opera
Cache
C:\Documents and Settings\*\Local Settings\Application Data\Opera\Opera\cache
Help documents
C:\Documents and Settings\*\Local Settings\Application Data\Opera\Opera\opcache
Mail directory
C:\Documents and Settings\*\Local Settings\Application Data\Opera\Opera\mail
Plug-in path
C:\Program Files\Opera\program\plugins
C:\Program Files\Mozilla Firefox\plugins

User CSS directory
C:\Documents and Settings\*\Application Data\Opera\Opera\styles\user


So opera = firefox , plugin-wise ?
And there's no Jscript path.

15. April 2010, 00:00:41

matejakezman

Che Guevara

Posts: 367

firefox, safari and ie8 also have this problem. it is up to jubito(youtube)
Tito je jedini Bog

15. April 2010, 00:00:52

Miths

Posts: 60

Create a UserJS folder if there isn't one (there wasn't in my Opera install) and then point to the path in the Javascript settings as described elsewhere. You might need a browser restart afterwards.

15. April 2010, 00:02:28

soccerdog23

Posts: 6

Originally posted by shu8i:

Originally posted by Jito463:

Originally posted by shu8i:

i don't understand this part :S copy what address?



In "Opera:about", scroll down to the section labeled "Paths" and find the line titled "User JavaScript folder". The directory it points to is where you need to save this to.



i created the folder "User JavaScipt" since i didn't have any and driected opera to that folder through preferences (now there is User JavaScript folder C:\Program Files (x86)\Opera\User JavaScript in opera:about), put tha .js into it and still it won't load any youtube videos sad





correct now when you go to youtube right click on the page

click edit site preference go to the scripting tab and put the direct path as the user java script folder

or

go the preference/advance/content/ then click javascript options and set the folder there

15. April 2010, 00:11:59

shu8i

Posts: 9

Originally posted by soccerdog23:

Originally posted by shu8i:

Originally posted by Jito463:

Originally posted by shu8i:

i don't understand this part :S copy what address?



In "Opera:about", scroll down to the section labeled "Paths" and find the line titled "User JavaScript folder". The directory it points to is where you need to save this to.



i created the folder "User JavaScipt" since i didn't have any and driected opera to that folder through preferences (now there is User JavaScript folder C:\Program Files (x86)\Opera\User JavaScript in opera:about), put tha .js into it and still it won't load any youtube videos sad





correct now when you go to youtube right click on the page

click edit site preference go to the scripting tab and put the direct path as the user java script folder

or

go the preference/advance/content/ then click javascript options and set the folder there




WOW it's working now, although i don't understand why it didn't earlier...
i did go to the preference/advance/content/ then click javascript options and set the folder there... it didn't work, now i did the exact same thin on the youtube site (click edit site preference go to the scripting tab and put the direct path as the user java script folder), although there already was the folder C:\Program Files (x86)\Opera\User JavaScript in the box.

wth it's working now so ty smile

15. April 2010, 00:14:23

soccerdog23

Posts: 6

lol no prob glad you got it working hopefully opera fixes it in the next snapshot

15. April 2010, 00:22:23

Originally posted by shu8i:

WOW it's working now, although i don't understand why it didn't earlier...


Cool, I'm glad it's working for you now.

I muck about quite a bit with user scripts, and sometimes I have to reload a page once or twice before a script "takes." Makes no sense, but it happens all the same.

15. April 2010, 00:23:18

jonaswan2

Posts: 369

YouTube is running hunky-dory for me, with out the need for the User JS fix that was posted up thread.

Have any of y'all tried "Help > Check for Updates"? Usually, Opera "fixes" something like this through the browser.js file. Or maybe Google's already solved the problem. Is it only occurring on certain videos?

15. April 2010, 00:36:16

lt.Catscratch

Posts: 5

Someone on another topic said about having 10.51 3352 build but I downloaded Opera again after seeing his post and it was 10.51 3315. There's no updates currently.

And it happens on all youtube videos. It also happens only on the video's normal page. The video plays fine on poster's channel or in Full Screen mode if you know how to modify the video's url. That's why i started thinking it's youtube's fault.

15. April 2010, 00:47:06

lewisje

Posts: 11

I have hosted Snap100's solution on my own webspace: http://lewisje.com/YoutubeProtectionRemover.js

Also this is definitely YouTube's fault; The stable version of Opera hasn't changed since 22 March 2010 and the problem appeared just a few hours ago so it's probably something that YouTube changed in its site code that's causing the problem.
I expect that the next update to browser.js will include this fix.

15. April 2010, 01:07:43

mwpeck

Posts: 59

Originally posted by lt.Catscratch:

Someone on another topic said about having 10.51 3352 build but I downloaded Opera again after seeing his post and it was 10.51 3315. There's no updates currently.


http://my.opera.com/desktopteam/blog/

That is up to build 3353.....if you want the absolute latest, keep an eye on the desktop team blog.....if you want the latest official build, then download off the main download page on the Opera site.

15. April 2010, 01:11:30

Sil

Posts: 298

Originally posted by kaffepro:

Another way to fix it is to go to Block content... -> Details -> Add this url: "http://s.ytimg.com/yt/jsbin/*"

This removes all the javascripts though, so pull-down menus etc. also stop working.

Thank you !! Deleting cookies didn't fix it but adding this to the blocked content works!!

I can see they've updated the player UI. Since the pull-down menus are dead with this, is the playlist Randomize back????

15. April 2010, 01:18:27

shu8i

Posts: 9

from all the responses with "delete the cookies" on the google/youtube page i don't have the new youtube player anymore sad i quit liked it. is there any way to get it back? greetz

15. April 2010, 01:31:55

browzer1

Posts: 163

What are the long term implications (if any) of adding "http://s.ytimg.com/yt/jsbin/*" to the content blocker?

In a few days (weeks), I will have forgotten about this completely probably.

Will it affect future changes to Youtube?

15. April 2010, 01:48:17 (edited)

Quadunit404

Someone

Posts: 366

Strange... my sister isn't getting this, and she's a user of Opera. I'll probably delay updating Opera from 10.10 to 10.5x for her until YouTube fixes this.

Update: oh hey look what I found
Go to ExtendOpera.org for all your customization needs.

15. April 2010, 01:59:01

Sil

Posts: 298

Originally posted by Quadunit404:


Update: oh hey look what I found

hum, I'll wait for an official fix wink

15. April 2010, 02:07:10

kabas

Posts: 1

The script works, thanks!

15. April 2010, 02:38:36

friguron

Frío y azul...

Posts: 628

The silliest of the solutions works for me (as a workaround of course):

Reload the faulty youtube tab, and BEFORE it finishes loading, STOP it!!

Even you're now forced to think "WTF??", it works...
Even it seems "you're doing wrong", you aren't smile

Why? Because the video player (as it couldn't be otherwise) will work, as it has been doing all day (14 April)).

For me, and until Youtube fix their untested wrong code against major browsers, it's the easiest workaround.

Greetings!
Get a DROPBOX invitation (extra 250 MB awarded) clicking here
Watch some Opera bugs and interesting tests clicking here
Windows alternative render method for CJK (and ordinary) fontsGDI++

15. April 2010, 03:06:42

QuAppelle

Posts: 176

Thanks, AmigaHeretic. The script works. yes

15. April 2010, 03:08:19

avguste

Posts: 48

Having the same problem.
Using Chrome for YouTube as of now

15. April 2010, 04:53:30

GreyWyvern

Here there be puffins...

Posts: 309

This should be easily fixed by a browser.js update, but that doesn't mean Opera should let YouTube off the hook for this kind of behaviour. Opera is perfectly capable of playing these videos, as the "stop-before-page-has-loaded" trick shows; this extra javascript check they have put in place is tantamount to directly blocking Opera.
Virtual Keyboard User Javascript :: My Opera widgets - Useful tools and fun classic console games! :: star starPlanetWerks 2star star - A planetarium on your desktop! :: The Puffin Archive: Opera's unofficial mascot? wink :: Opera rendering bug list
Sniffles is my hero...

15. April 2010, 04:54:14

Pesala

Reclining Buddha

Posts: 27328

The userjavascript attached to this post solved the problem for me.
Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

15. April 2010, 05:04:42

Pesala

Reclining Buddha

Posts: 27328

Originally posted by sevenred:

I both agree and disagree. It's probably a change in the code like you say, but I don't think it's a bug.


The code wrongly detects that I don't have the latest Flash plugin installed, and tells me “go update” it. Whatever code YouTube is using, it is broken because I do have the latest Flash plugin installed.
Skins Tips Buttons Backup Security User Scripts Language Forums
Browser JS Changelogs Opera Next Dragonfly Bugs FTP
My Website Opera Review My Fonts IrfanView Search Downloads
Opera 11.64 on Windows 7 64-bit • AMD A10-6800K, 8 Gbyte RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

15. April 2010, 06:22:44

prd3

Posts: 928

Originally posted by ChrisRenucci:

sure if other Browsers work, its Opera. What else? Or do you really believe they wrote in the Code to exclude Opera Users?


Yes, that is very likely. Google has a history of using browser sniffing scripts to silently block Opera.

Originally posted by BlindLemonLarry:

From a user standpoint, that is soooooo crazy. It's like designing a car that won't go over a pothole without the wheel falling off...and defending it by asking "How else will we find and fix the potholes?"


No it isn't. It's like someone designed a road to only show potholes for that car. And you blame the car manufacturer? That's like blaming blacks for being discriminated against in South Africa.

Let's not point fingers.


You just did.

15. April 2010, 06:23:25

prd3

Posts: 928

Originally posted by AmigaHeretic:

But even using your analogy. What happens when you start having so many potholes that no cars make it down the road? The solution is to drive a tank? That's the problem that IE brought. It was a tank. It could show any code regardless how bad it was coded. We ended with SO many pottholed roads everyone elses started making HUGE tank like inefficient browsers so they could compensate for the bad roads IE ignored and let deteriorate.


This analogy doesn't work either. IE is an old an crappy car. Slow. Insecure. Deadly to drive. But for some reasons all roads are designed to never show potholes when IE drives by.

Opera is built like a tank. It has to protect itself from potholes. Which it why has stuff like useragent spoofing, site patching updates, etc. But a tank isn't indestructible.

15. April 2010, 06:25:04

prd3

Posts: 928

Originally posted by lt.Catscratch:

So opera = firefox , plugin-wise ?


No, it looks in Firefox's plugin folder for compatible plugins.

15. April 2010, 08:31:19

TheOne-UK

Posts: 14

Originally posted by ytsmabeer:

If it first worked an Opera hasn't change that it is clearly an youtube error

So let's discus this on youtube http://www.google.com/support/forum/p/youtube/thread?tid=3cbbb4aafb595f5e&hl=en



This is clearly a YouTube issue, regarding it's compatibility with Opera, as stated in other posts, nothing in Opera has changed. I also uninstalled flash and reinstalled as YT suggested.
Don't know why this continued beyond the above post..... +rep!!

15. April 2010, 09:43:24

ChrisRenucci

Posts: 22

Originally posted by matejakezman:

it is up to jubito



what are you talking about? Its working perfectly on FireFox and IE8!

15. April 2010, 09:57:17

luisdalmeida

Graph it

Posts: 2

The most funny is that youtube links or incorporations to other sites, like facebook, tagged and so on, still working......

15. April 2010, 10:12:06

EricJH

Posts: 6442

Thanks for the userjs script that fixed it. up coffee

It's good to see, and appreciated very much, to see a workaround coming from the user community.
Opera always the latest snapshot (default), Comodo Internet Security 2012 Windows 7 SP1 (default), Vista 32 SP2 and XP SP3 triple boot......AMD Phenom II , 4 GB RAM, MSI 850G-E53

15. April 2010, 10:14:23

Katzy

Posts: 185

I did all that and it still didn't work.

However, it DOES work, if you change the cookie settings, for YouTube, to "Accept cookies", which sucks.

Google ignoring our privacy, yet again...

15. April 2010, 10:21:19

Opera Software

JayneDoe

Moderator

Posts: 82

Moderator note:

Please stay on-topic. This thread is about the "go upgrade" message on YouTube. If your comment is not directly related to that, it is off-topic. Off-topic posts are against the rules. If you have specific comments or questions about compatibility in general, use this thread.

(Please do not respond to this. It is purely for your information.)

-JD
Opera Community Moderator

15. April 2010, 10:23:53

ChuckGlisson

Posts: 1

Moderator edit: This comment has been removed for breaching our terms of use.

15. April 2010, 10:41:27

Richard7666

Posts: 9

I'm getting this too...I believe everyone on the current version of Opera is?

15. April 2010, 10:42:06

Opera Software

haavard

Desktop QA

Posts: 16063

We're in contact with YouTube about this. I'm fairly sure that it will be resolved soon.
The Opera Ninja recommends a forum search to find answers to your questions ninja

Håvard Kvam Moen @ My Opera / Twitter

15. April 2010, 10:42:21

maskokot

Posts: 115

Originally posted by Miths:

but the problem persists.


Enable User javascript !
Opera 10.60b1 (3422)

Google Translate with Opera

15. April 2010, 10:57:35

oceanic

Posts: 366

Originally posted by haavard:

We're in contact with YouTube about this. I'm fairly sure that it will be resolved soon.



up

15. April 2010, 11:33:33

techlawsam

Posts: 2161

confirmed as well on windows 7 ultimate 32-bit. I dont get this nonsense of ditching opera b/c youtube is working there is not even that big of a problem just download new flash and install it and youtube is working again jeez..

15. April 2010, 11:52:16

siealex

Posts: 662

I set up "Mask as Firefox" for youtube.com and it works...

15. April 2010, 12:00:42

siealex

Posts: 662

It worked two or three times and stopped...

15. April 2010, 13:05:52

tenor

Posts: 49

I bet it works fine with Google's own browser...

15. April 2010, 13:20:37

prd3

Posts: 928

Originally posted by tenor:

I bet it works fine with Google's own browser...


Actually, YouTube stopped working in Chrome for a while the other day.

So I'm not sure what you are trying to say or how your comment is relevant.

15. April 2010, 13:34:37

siealex

Posts: 662

User JS works... forever???

15. April 2010, 13:49:48

Maxentius

Posts: 10

The JS fix worked for me. I wonder if YouTube will fix their script?

15. April 2010, 13:54:01

oceanic

Posts: 366

somurat posted this in the comment on chooseopera

1.Go to youtube
2.Right click
3.Select "Block content"
4.Select "Details"
5.Select "add"
3.Paste this http://s.ytimg.com/yt/jsbin/www-core-new-vfl160018.js
4.Press "Close"
5.Press "Done"

even better than the userjs solution

15. April 2010, 14:19:38 (edited)

bleicher

Posts: 787

just a small remark - i checked furrfox forum - its also full of complains about not working things, so dont think switching will help - it will just change the url's you are mentioning in complains^^

and btw - is OperaInc going to react with new browserjs? or whatever the js used to fix broken sites are called? isnt the big one here.

has ANYONE reported site porblem via "site problem report wizzard"? ok, ok - i am not perfect - yet.
Sheduler Widget for students (and pupil)

15. April 2010, 14:04:40

prd3

Posts: 928

Originally posted by bleicher:

has ANYONE reported site porblem via "site problem report wizzard"?


Did you read the thread? Specifically, the part of the thread where someone from Opera said "We're in contact with YouTube about this"?

15. April 2010, 14:08:40

ytsmabeer

Frisian translator of Stuff

Posts: 1898

Originally posted by bleicher:

just a small remark - i checked furrfox forum - its also full of complains about not working things, so dont think switching will help - it will just change the url's you are mentioning in complains^^

and btw - is OperaInc going to react with new browserjs? or whatever the js used to fix broken sites are called? isnt the big one here.

has ANYONE reported site porblem via "site problem report wizzard"?



Opera and Youtube or on the job
http://my.opera.com/community/forums/findpost.pl?id=5129001

15. April 2010, 14:15:30

loblo

Posts: 45

Originally posted by Miths:

The posted UserJS script doesn't work for me either. I've restarted the browser, double checked the file name, the folder path and made sure Java Script wasn't disabled on YouTube, but the problem persists.



Me too but I finally got it working after setting Mask as Firefox for youtube.com.

15. April 2010, 14:22:01

ytsmabeer

Frisian translator of Stuff

Posts: 1898

Originally posted by loblo:

Me too but I finally got it working after setting Mask as Firefox for youtube.com.


The old page was probably still in the cache

15. April 2010, 14:52:00

RainyShadow

Posts: 378

Youtube works perfectly fine in Opera 10.10 p

15. April 2010, 15:20:57

Opera Software

Rijk

I was here

Posts: 4117

Use 'Help > Check for Updates' to get the freshly updated browser.js that will work around the Youtube problem for now. With this update, you don't need to manually install a user javascript anymore.
"The real issue is about design: designing things that have the power required for the job while maintaining understandability, the feeling of control, and the pleasure of accomplishment." Don Norman
Tweak blog

15. April 2010, 15:41:21

eetest

Posts: 36

Report: youtube is finally working again here now!! yay!

15. April 2010, 16:05:12

Maxentius

Posts: 10

I just verified that I can use youtube without the user JS script.

15. April 2010, 16:41:35

thaceo

Posts: 129

Originally posted by oceanic:

somurat posted this in the comment on chooseopera

1.Go to youtube
2.Right click
3.Select "Block content"
4.Select "Details"
5.Select "add"
3.Paste this http://s.ytimg.com/yt/jsbin/www-core-new-vfl160018.js
4.Press "Close"
5.Press "Done"

even better than the userjs solution

ty

15. April 2010, 17:12:32

Originally posted by prd3:

It's like someone designed a road to only show potholes for that car. And you blame the car manufacturer?


I'm not blaming anybody, I'm being pragmatic and realistic. Potholes are a fact of life, always will be. Only in your imagination can potholes and poorly coded websites be entirely eliminated. Cars need to be designed to deal with potholes without crashing, or they are not safe to drive on real roads. Get it?

That's like blaming blacks for being discriminated against in South Africa.


Oh boy...and people question MY analogy? Any other absurd non-sequiturs you'd like to contribute to the conversation?

15. April 2010, 17:15:03

Originally posted by haavard:

We're in contact with YouTube about this. I'm fairly sure that it will be resolved soon.



As we knew you would. Much appreciated. smile

15. April 2010, 17:17:16

robsonpc

Pensamento Positivo!

Posts: 570

Originally posted by Rijk:

Use 'Help > Check for Updates' to get the freshly updated browser.js that will work around the Youtube problem for now. With this update, you don't need to manually install a user javascript anymore.



Does'nt work on last snapshot. Use JS solution.
Manjaro Linux 0.8.8 - Opera Linux ?
AMD Vision A4-3305M - 4GB DDR3 - ATI HD 6480G - 500GB HDD

15. April 2010, 17:29:37

lovehatehero

Posts: 30

Strangely enough it works without any js updates.
I'm guessing youtube fixed what was wrong at their side

15. April 2010, 17:53:49

rbaleksandar

Posts: 115

The problem isn't in the flash. It's again a compability issue between Opera and a Google's site (that is YouTube in our case). Just try some other site where flash videos are offered and you'll see that it works without a problem (unless you're unlucky enough to land on another site that's a dung and stinks bigsmile). I tried using FF and it worked (although I have activated AdBlock Pluss add-on. sad

PS: Google sucks...

15. April 2010, 18:07:12

jog

Posts: 56

Strange,

I got two computer and I've installed the fix on both.

It's working only on one..smile The other, nothing happend.

15. April 2010, 18:22:38 (edited)

pathduck

Posts: 83

Originally posted by oceanic:

somurat posted this in the comment on chooseopera

1.Go to youtube
2.Right click
3.Select "Block content"
4.Select "Details"
5.Select "add"
3.Paste this http://s.ytimg.com/yt/jsbin/www-core-new-vfl160018.js
4.Press "Close"
5.Press "Done"

even better than the userjs solution



Works! Thank you so much, evening rescued! smile
This is why Opera content blocker rules!

Edit: Oops, breaks comments, ratings and probably a lot more but at least videos play now lol

15. April 2010, 18:50:29

Kani

Posts: 120

For those thinking it's Opera that isn't working here, let me explain to you how web development works.

There are standards that all web browsers follows, but unfortunately they all have a few details they do their own way (this is mostly a problem with Internet Explorer but other browsers have the same problem sometimes.)

So when you start making a website you only test it in ONE browser until you got it all working, you then proceed to test it in other browsers. Time is money and some companies decides to only test it in the biggest ones, Internet Explorer, Firefox and sometimes Chrome. Most likely NONE of them will work except the first one they made the site in so they change the details in the code that causes it to not work.

So you see? Most likely Youtube decided that opera is too small and has too few users to be worth testing it in.

15. April 2010, 19:08:44

leo200

Posts: 36

looks like Youtube fix it

15. April 2010, 19:09:37

GobanToba

Posts: 31

Originally posted by pixartist:

Shows "go upgrade" message instead of video



Thanks for the fix Opera team, the update works.

I was thinking, at least the "go upgrade" link didn't take you to a Chrome download file. ;-)

15. April 2010, 19:20:20

TetraNitro

Posts: 97

Originally posted by Rijk:

Use 'Help > Check for Updates' to get the freshly updated browser.js that will work around the Youtube problem for now. With this update, you don't need to manually install a user javascript anymore.



I tried this, and things worked well for a few minutes. After just two videos, though, the GO UPGRADE! problems is back, and I can't watch anything.

Blocking the javascript allows me to view videos, but breaks many other things - such as window resizing. User Javascript workaround isn't an option for me, since I whitelist javascript.

15. April 2010, 20:51:28

lanthas

Posts: 2

This actually seems to be a bug on Opera's side... I managed to reproduce the issue in a small test page.

Youtube checks the Flash version by creating a dummy <object type="application/x-shockwave-flash"> and querying its $version property using the GetVariable() function. This does work in Opera. BUT: for whatever reason, it stops working if you check for the existence of GetVariable first -- which Youtube happens to do.

Test page:
<html>
	<head>
		<script type="text/javascript">
			window.onload = function()
			{
				var body = document.getElementsByTagName('body')[0];
				var o = document.createElement('object');
				o.setAttribute('type', 'application/x-shockwave-flash');
				body.appendChild(o);
				var version = '';
				//if('GetVariable' in o)
				{
					version = o.GetVariable('$version');
				}
				document.getElementById('result').innerHTML = version;
				body.removeChild(o);
			};
		</script>
	</head>
	<body>
		<span id="result"></span>
	</body>
</html>


The test page as given works and displays the Flash version correctly. If you uncomment the if() however, an error is produced ("GetVariable is not a function"). On Youtube, this error is caught (try/catch) and the version is set to an empty string instead. This results in the failure of the Flash version check (as it tries to parse the version string and compare the numbers) and the subsequent "Go upgrade" message.

15. April 2010, 21:15:08

id8

Posts: 150

Okay, I had same issue, embedded vids play, YouTube says "Upgrade".
FWIW, I use Alex Rusanov's Flashblocker, it functions normally with the below fixes.
Some feedback on fixes offered in this thread, and a question on the bottom about somurat's fix:

Each of these 4 individual solutions is WORKING for me (XP SP3):
-----------------------------------------------------------------------------
click on the "embed" link below the video and use the url inside that code
http://www.youtube.com/watch?v=9BnLbv6QYcA <- Link does not work give you "upgrade" error
change it to: http://www.youtube.com/v/9BnLbv6QYcA <- Now it will work.
-----------------------------------------------------------------------------
go to the user's channel and watch video fine, for example,
http://www.youtube.com/user/TheOnion
-----------------------------------------------------------------------------
preferences/advanced/ Block content/ Add this: "http://s.ytimg.com/yt/jsbin/*"
-----------------------------------------------------------------------------

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name YoutubeProtectionRemover
// @include http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end

2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - Go to Opera/settings -> Preferences -> Advanced -> Content -> JavaScript Options. Add location of user.js folder, if not already there.
5- Profit!
-----------------------------------------------------------------------------------
Note: "Mask as Firefox" did not work for me, nor did it affect these fixes.
Also, Not working (without fix): http://www.youtube.com/xl
________________________________________________________________
I have not tried the following somurat posting from chooseopera , but am curious, What does it do?
There is a ton of code there, is it a good practice even without issues?
Thanks!

1.Go to youtube
2.Right click
3.Select "Block content"
4.Select "Details"
5.Select "add"
3.Paste this http://s.ytimg.com/yt/jsbin/www-core-new-vfl160018.js
4.Press "Close"
5.Press "Done"

even better than the userjs solution
---------------------------------------------------------------------------------------

15. April 2010, 21:41:26

141okie

Posts: 1

try optimizing. This can be found in you tube help..click on start optimization..it woreked for me when videos wouldnt play said "unsupported resolution" even though this is a different problem..your videos didnt play like mine..but after optimization..it fixed the problem..its worth a try. Good luck.

15. April 2010, 22:06:55

DaveHawley

Posts: 854

The userJS here -
http://userscripts.org/scripts/show/74379
fixed the problem for me.
I removed it after the new browserjs from Opera was issued, and that did seem to have fixed it for a short while, but then the problem came back again.
I've now put the userjs back, and YouTube videos are working again.
smile
Now all I've got to do is find a fix for my other problem with YouTube, which is still there!
http://my.opera.com/community/forums/topic.dml?id=515361
sad
Opera 12.16 on Windows XP Pro SP3 + Opera 12.02 on Windows 98SE with KernelEx (Dual Boot) + Opera 20 on XP for testing only! - Dual 3.2GHz Xeons - 4GB RAM - ATI Radeon X850 Graphics 1920x1080 32bit Colour with Large Fonts

15. April 2010, 23:09:01

the-nature-one

Member of Mayday

Posts: 116

Originally posted by BlindLemonLarry:

What soccerdog23 said. Preferences/Advanced/Content/Javascript Options. Make sure it's pointing to your script folder.




that worked for me thanks
8 Pro
i7-2600K@4.8GHz
8GB 1866MHz RAM
HD7990

15. April 2010, 23:24:13

lovehatehero

Posts: 30

ok am i the only one who doesn't have problems with youtube anymore and I didn't import javascript or anything like that?

15. April 2010, 23:31:05

Bugzelot

Posts: 39

Originally posted by Jito463:

*EDIT*
Whoops, beat to the punch. wink
/*EDIT*

This was just posted by Snap100 on that Google support link posted above, and it worked for me:

This is a lame solution to "block" the videos to those who uses flashblockers, or adblockers, or etc ... google wants you to watch every one of their ads, i guess money is never enough ...

As a programmer was extremely easy to write a workaround for this, but take in count that i ONLY use Opera, so this will only work for Opera users ...

1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name        YoutubeProtectionRemover
// @include     http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end


2 - Rename it to "YoutubeProtectionRemover.js"
3 - write in your browser url bar, "opera:about" ... copy the address to "User JavaScript folder" ... go there ... then copy YoutubeProtectionRemover.js to the folder
4 - profit !



Sweet. This fix worked great for me.

Thanx man!

15. April 2010, 23:47:37

DaveHawley

Posts: 854

Strange, because that script didn't work for me, but the one I mentioned in my previous post did!
confused
Opera 12.16 on Windows XP Pro SP3 + Opera 12.02 on Windows 98SE with KernelEx (Dual Boot) + Opera 20 on XP for testing only! - Dual 3.2GHz Xeons - 4GB RAM - ATI Radeon X850 Graphics 1920x1080 32bit Colour with Large Fonts

16. April 2010, 00:06:42

TetraNitro

Posts: 97

Could someone please give me some advice regarding how to get the "YoutubeProtectionRemover.js" user javascript workaround functioning?

I have javascript disabled by default, and I enable it for each site according to site preferences. This means that Javascript is enabled for the www.youtube.com domain, but disabled for unfamiliar domains that I haven't approved yet.

When I try to go to Preferences/Advanced/Content/Javascript Options, the box for Javascript Options is grayed out.

I could enable Javascript globally, but I consider this a security risk.

Is there a way to use the User Javascript workaround without globally enabling javascript? Thanks.

16. April 2010, 00:14:38 (edited)

sebt

Posts: 2521

For anyone that missed Rijk's post above, opera have implemented a fix in browser.js. To install the fix, simply go Help...Check for updates. Afterwards the dreaded "Go Upgrade" should disappear and youtube should work fine.

Any users who do not "check for updates" as above should receive this fix automatically within a week since Opera 10.5x checks and updates its browser.js weekly.

To check whether you're running the fixed browser.js go here and ensure that the datestamp for the installed browser.js file is at least April 15th 2010. More information about browser.js is available on this page.

It does seem that lanthas' post above highlights a small bug in Opera's JS engine. Bug report?

Seb smile
Stupidity is the basic building block of the universe - Frank Zappa
Opera 10.0 featuring Unite! is here, go get it!
Opera Mail (M2) Issues... Please improve these important omissions from the great unsung feature of Opera - thanks!
- Inability to reply/redirect/forward rich & html formatted email (addressed in 10.0) Check the petition!
- Please allow complete editing of & attachment removal/addition to messages within the database. Essential for managing your email database!
- The facility for forwarding/redirecting multiple emails, and composing to all email addresses for a contact
- indexing issue where part-composed emails are not reindexed when sent. Fixed?

MY BLOG - - TAMIL'S BLOG W/OPERA TIPS & TWEAKS - - CUSTOMISE OPERA WIKI - LOTS HERE!!

16. April 2010, 00:33:53

Malakim

Posts: 61

Working fine now.

16. April 2010, 08:59:32

daniel15

Posts: 62

ok am i the only one who doesn't have problems with youtube anymore and I didn't import javascript or anything like that?


I didn't have issues either. Could it be because I'm Australian and get the Australian YouTube site? We seem to get updates a bit after the American site (eg. the new layout with Like/Dislike instead of star ratings only got introduced very recently, whereas it's been on the US site for a while).

Originally posted by AmigaHeretic:

But even using your analogy. What happens when you start having so many potholes that no cars make it down the road? The solution is to drive a tank? That's the problem that IE brought. It was a tank. It could show any code regardless how bad it was coded. We ended with SO many pottholed roads everyone elses started making HUGE tank like inefficient browsers so they could compensate for the bad roads IE ignored and let deteriorate.

No the solution is not to build tank like cars the solution is to make good roads and keep them in good shape.


That's a great analogy! I like it bigsmile

16. April 2010, 09:54:13

prd3

Posts: 928

Originally posted by BlindLemonLarry:

Potholes are a fact of life, always will be. Only in your imagination can potholes and poorly coded websites be entirely eliminated.


I never said that potholes can be entirely eliminated. I pointed out the fact that the potholes are specifically targeting Opera.

Cars need to be designed to deal with potholes without crashing, or they are not safe to drive on real roads. Get it?


Opera WAS designed to deal with "potholes". It was actually built from scratch to handle bad code.

16. April 2010, 09:55:29

prd3

Posts: 928

Originally posted by daniel15:

That's a great analogy! I like it bigsmile


Except the analogy is false. IE is not a tank. The fact is that roads were designed specifically to not expose IE to potholes. That doesn't mean that IE is solid, it just means that the roads were designed for it. The fact is that Opera needs to be much more sturdy and solid than IE.

16. April 2010, 12:44:01 (edited)

lanthas

Posts: 2

In this particular case, there isn't a pothole - the code is perfectly valid. There is a browser check in it, but it only involves separating IE from other browsers (since in the IE case, it needs to use ActiveX). There is *no* Opera specific code in the Flash check. (And it also has nothing to do with punishing adblocking as some people are assuming).

16. April 2010, 10:45:00

ytsmabeer

Frisian translator of Stuff

Posts: 1898

This topic should be closed, now the issue is fixed by Youtube and Opera

16. April 2010, 17:17:11

webtax

Posts: 86

thanks for the epxlanation lanthas

oh and for the quick fix for the people and opera

Still using usb sticks? what? you don't have dropbox? :foreveralone
Get Dropbox Here http://db.tt/6o9Mtwg0 and both you and i receive an extra +250mb!!
You can also register directly in www.dropbox.com, but you won't get the additional space!

16. April 2010, 17:44:37

Originally posted by prd3:


I never said that potholes can be entirely eliminated. I pointed out the fact that the potholes are specifically targeting Opera.


A spectacularly paranoid claim, for which you have absolutely no evidence of. So you really think the people writing code for YouTube have meetings where they plot and scheme ways to block Opera users?

A more realistic scenario is that site designers simply don't test their code with Opera, because statistically speaking we are totally insignificant. Outside of this forum, I'm the only Opera user I know.


Opera WAS designed to deal with "potholes". It was actually built from scratch to handle bad code.


And yet, it frequently doesn't. How ironic.

Meanwhile, Opera has quietly corrected the issue with an updated browser.js file. As predicted, the car got fixed...not the pothole. Instead of tilting at windmills like the fanboy crowd, they simply took care of business.

16. April 2010, 17:47:25

Originally posted by WideOpenSpace:

Originally posted by ytsmabeer:

This topic should be closed, now the issue is fixed by Youtube and Opera



no its not fixed
i'm still on latest official O version and flash version
and stupid ass YT doesn't work

someone said do the Help - check updates
= fail, nothing to update there



Go to opera:config and search for "browser javascript." Make sure it's set to 2.

16. April 2010, 17:54:28

ytsmabeer

Frisian translator of Stuff

Posts: 1898

Originally posted by WideOpenSpace:

no its not fixed
i'm still on latest official O version and flash version
and stupid ass YT doesn't work

someone said do the Help - check updates
= fail, nothing to update there



Youtube is probably still in cache.
And Youtube fixed this on their end, so it should work with or without browser.js

16. April 2010, 22:22:56

lcase

Posts: 187

sebt Thank you for your js link .it fixed my problem with about 10 sites incuding NYT

17. April 2010, 13:10:57

id8

Posts: 150

WideOpenSpace
Have you tried this fix? There is a missing step, not in most of the posts, step 4 below.
It points Opera to the user.js folder. I am guessing that is the issue.
-------------------------------
1 - Save this to a txt (make sure you copy all from the start "// ==UserScript==" to the end "//end")

// ==UserScript==
// @name YoutubeProtectionRemover
// @include http://www.youtube.com/*
// @description Removes lame protection on YouTube
// @copyright 2010, Snap
// ==/UserScript==

window.opera.addEventListener(
'BeforeScript',
function (ev){
ev.element.text = ev.element.text.replace("yt.flash.update(swfConfig, forceUpdate);","");
},

false);
//end

2 - Rename to "YoutubeProtectionRemover.js"
3 - copy YoutubeProtectionRemover.js to the user.js folder.
XP location (generic user named "USER") C:\Documents and Settings\USER\Application Data\Opera\Opera\UserJS
If the folder is not there, make a folder called UserJS.

4 - Go to Opera/settings -> Preferences -> Advanced -> Content -> JavaScript Options.
enter location of user.js folder. The entry in this case would be:
C:\Documents and Settings\USER\Application Data\Opera\Opera\UserJS




17. April 2010, 19:30:58

rodmylon

Posts: 14

Opera's own fix (& probably youtubes too) fixed the problem for me the other day. But today as I deleted private data (cookies, cache, webstorage databases and so on...) and later visited youtube the problem was back! Now I don't get it to disappear by searching for an update any more (as it earlier got fixed). I even downloaded the latest version again and did a repair install. No help. I checked the browser js and it's up to date ("Current browser.js status: enabled. Target version and time stamp of the active browser.js file is Opera Desktop 10.50 core 2.5.22, April 16, 2010 ."). I'm running Version 10.51, Build 3315. I see youtube videos on profile pages, but not the usual way when watched on their own page. What did I mess up??

17. April 2010, 23:27:56

Maurizzio

Posts: 17

hi , curiously I solved this issue ( I had the same problem) changing the skin , Tools>Appearence>Skin , then I look for other and get this Z1-Glass V2.47.
But I think that mayb that this is a kind of workaround , and the problem will reappear ...let's see
/Maurizzio

Forums » Opera for Windows/Mac/Linux » Opera browser