Ubuntu – Pepper flash plugin is installed but doesn’t work on chromium

14.04aptchromiumflash

I have Pepper Flash Plugin installed, but it doesn't work on chromium and still every webpage prompts to install Adobe flash.

I removed and installed it again but nothing changed.
I'm sure it's installed because with attempt to new install get this message:

sudo apt-get install pepperflashplugin-nonfree

Reading package lists... Done
Building dependency tree       
Reading state information... Done
pepperflashplugin-nonfree is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Ps. This is how I removed the plugin before installing it again:

apt-get remove --purge pepperflashplugin-nonfree

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  pepperflashplugin-nonfree*
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
After this operation, 66.6 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 199594 files and directories currently installed.)
Removing pepperflashplugin-nonfree (1.3ubuntu1) ...
Purging configuration files for pepperflashplugin-nonfree (1.3ubuntu1) ...

apt-get clean

Thanks

Best Answer

Despite what was said on Ubuntu wiki and here to simply install flash on Chromium by pepperflashplugin-nonfree package; I was forced to manually copy the pepperflash plugin file from Google chrome to chromium in the way expounded here :


Download Google Chrome and extract libpepflashplayer.so from /opt/google/chrome/PepperFlash in the Chrome deb file Copy libpepflashplayer.so to /usr/lib/chromium-browser/plugins Make the necessary changes to the Chromium startup

sudo gedit /etc/chromium-browser/default

Add this to the CHROMIUM_FLAGS

CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/chromium-browser/plugins/libpepflashplayer.so --ppapi-flash-version=11.5.31.2"

You can get the correct version of the flash plugin from the "version": json tag in the mainfest.json from /opt/google/chrome/PepperFlash in the Chrome deb file


Now I have Adobe Flash Player - Version: 16.0.0.291 on Chromium and it works fine. I don't know if I could get updates for flash on Chromium using this on Trminal:

sudo update-pepperflashplugin-nonfree --status

Because it doesn't give anything on Terminal.

If you have any idea of how to keep the flash player updated on Chromium (without manually copying .so file eachtime a new version is released);

Also about the reason of pepperflashplugin-nonfree didn't copy the plugin file in Chromium folder or didn't update CHROMIUM_FLAGS="" in /etc/chromium-browser/default automtically, please let me know in comments.

Thanks