Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Chrome comes with flash support by default, Firefox does not. If I use both on my system is there a way to use the library responsible displaying flash content in Chrome to do the same in Firefox?

share|improve this question
2  
For clarity, the Chromium browser does not ship with Flash and uses the same Flash plugin as Firefox. –  Lekensteyn Feb 28 '12 at 11:00
    
It does? ^^ but Chrome does ship with it right? –  Bruno Pereira Feb 28 '12 at 11:03

2 Answers 2

up vote 4 down vote accepted

Edit: Flash is only distributed with the i386 builds of Flash. The rest of the answer is based on that (I'm using 64bit)

On a 32bit computer, the Chrome version of flash will be at /opt/google/chrome/libflashplayergc.so. If you have this, you could try copying/symlinking this around, it should still be using NPAPI so should be compatible with Firefox.

If that file doesn't exist, you're probably like me and don't have it.


I have Chrome installed and it claims (in about:plugins, click the "details" link) that it's using /usr/lib/flashplugin-installer/libflashplayer.so plugin. This is the same one that Firefox is using.

You can also run locate libflash to have a quick look over the system for versions of Flash. /usr/lib/flashplugin-installer/libflashplayer.so is the only version I have on the computer (the others are symlinks).

You should note that later this year (assuming their plans turn out) Chrome/Chromium will switch to a PPAPI version of Flash (from the NPAPI one it shares with Firefox). So whatever instructions you do get, they'll stop working at some point this year... Unless Mozilla backtracks and decides to support PPAPI (which is also possible).

I have had a look at the google-chrome-stable, -beta and -unstable packages and none of them have a Flash plugin in them.

share|improve this answer
    
So, if you have the flashplugin-installer package in your chrome will use by default the plugin from the Adobe installation? What if you did not install the flash plugin from Adobe? –  Bruno Pereira Feb 28 '12 at 11:14
    
Honestly no idea. As I've just expanded, I don't have the "official for-Chrome" plugin because I'm on 64bit and the plugin only ships with the 32bit packages. I would assume that Chrome would pick its own version of the plugin though. –  Oli Feb 28 '12 at 11:24
    
Thx man, explains why I cant follow the instructions I read some where (Im also using 64bits). –  Bruno Pereira Feb 28 '12 at 11:34

You cannot use the same flash library for both browsers.

Flash is directly integrated into Chrome and all updates are automatic for it. If you wish to use flash on other browsers you need to install it separately from Adobe for Firefox.

Reference

share|improve this answer
    
I dont like the answer from Google over this ;) I know you could with with some easy steps do it. I am testing this at the moment. –  Bruno Pereira Feb 28 '12 at 11:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.