The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Adobe flash: Render quality?

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

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

22. September 2011, 06:30:09

deld1ablo

Posts: 283

Adobe flash: Render quality?

I am sitting on a atom laptop, and i notice it chokes on flash.
I also used chrome for a bit, until it crashed. The point was that there was a plugin that allowed one to override the render quality, to low or medium instead of high, which enables a lot of video and flash games to be smoothly played on the netbook.
So I am wondering if there is a way of doing this on Opera?

22. September 2011, 08:00:15

deld1ablo

Posts: 283

So how do I change the default quality? That was the question my good man.
I noticed that a lot of sites has removed the quality option recently.

22. September 2011, 13:20:41

Originally posted by deld1ablo:

That was the question my good man.


Sorry, deleted my previous post.

Originally posted by deld1ablo:

I noticed that a lot of sites has removed the quality option recently.


Indeed, I didn't notice because I rarely right-click a Flash object.

Originally posted by deld1ablo:

So how do I change the default quality?


I don't think it can be done but if a Chrome extension can do that then our 2008 magical scripts COULD (I strictly DO NOT guarantee) work too. Install the following UserScript with the following steps -

1. Go to http://userscripts.org/scripts/source/38994.user.js
2. Press Ctrl + A and copy the selected content to a text editor like Notepad.
3. Press Ctrl+V to paste it and then click Save. DO NOT SAVE THE FILE NOW; READ NEXT STEP CAREFULLY
4. In the Save dialog box, in the Filename field type "flash_lowquality.user.js" (WITH QUOTES)
5. Save it to where you want and now open YouTube for an example.
6. Right-click a free area on Youtube homepage and select 'Edit Site Preferences...' option.
7. Click the Scripting tab and now click Choose button.
8. Now browse the folder in which you saved the UserJS file.

Now try to watch a video. I STRICTLY DO NOT GUARANTEE that this works or not.
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

22. September 2011, 20:37:06

deld1ablo

Posts: 283

Thats fairly interisting. Will take a peek at it tomorrow.
~Thanks

25. September 2011, 03:01:33

Anyone here?
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

25. September 2011, 20:24:29

deld1ablo

Posts: 283

I guess I am bad at attempting to peek sad

25. September 2011, 23:25:47

burnout426

Posts: 13202

In userjs, you might be able to use window.opera.addEventListener("plugininitialized" to check if the element is loading flash and if it is, set the quality attribute to low and remove and reinsert the object (set a flag on the element first that you check in the plugininitialized callback so you don't do that element again).

<http://www.opera.com/docs/userjs/specs/#evlistener>

To detect that it's a flash object, you could check that the element has a type attribute of "application/x-shockwave-flash" or a src or data attribute (or src or movie param) that has ".swf" in it. Or, you could check the object to see if some method is present that only a flash object would have.

Now, if flash has some kind of setQuality() method that works without reinitializing the object, that'll make it even easier, but I don't know if flash has that.

30. September 2011, 15:15:07

deld1ablo

Posts: 283

Originally posted by Swapnil99pro:

Anyone here?



It worked quite well.
WOHO <3

30. September 2011, 15:55:13

Originally posted by deld1ablo:

It worked quite well.


What? That UserJS or burnout426's (Michael A. Puls II) method? I need to know because I am curious if the UserJS script I mentioned works or not?
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

2. October 2011, 18:24:55

deld1ablo

Posts: 283

The userjs worked like a charm.
You can replace ('value', 'low') with ('value', 'medium') if you want medium quality instead of low.

3. October 2011, 03:42:04

OK, Thanks for telling.
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

11. June 2012, 03:49:26

pinha24

Posts: 9

What an amazing script! Just what my old Pentium 4 needed wink Thanks!

14. October 2012, 15:43:20

deld1ablo

Posts: 283

I think the script broke due a flash update... Any ideas on how to verify this?

7. February 2013, 23:08:45

interesting, I tried it as well, doesn't work.. Perhaps it stopped working due to Opera update. I find many user scripts not working without really any way to find out why... (Gee, thanks Opera devs, it's not even in error log).

I tried another script like this and it's still working, here:
https://userscripts.org/scripts/review/57994

16. February 2013, 22:52:54

Alas, the script I posted above has problems loading all videos. For example redtube.com sometimes doesn't load a video when this user script is active.

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