Original address: http://blog.sina.com.cn/s/blog_858820890102v63w.html
do not remember from the beginning of this year, Chromium no longer supports Netscape plugin API (NPAPI), and Flashplugin in the official repositories is not working.
Browser does not support Flash how can I use? Must be addressed.
1. Online search for half a day, mostly follow the browser prompts to download the Adobe Flash Player plugin, and then extract the libflashplayer.so, the libflashplayer.so copy to/usr/lib/chromium-browser /plugins/, finally restart the chromium, enter in the Address bar: chrome://plugins, enable the Adobe Flash Player plugin. ———— This is the Flashplugin manual installation method in the official software warehouse! Obviously, it won't work.
2. OK, see chromium (English)-ArchWiki:
You can use Flash provided by Google Chrome (new Pepper API).
Can be installed through the package provided in the Aur:
Please enable/usr/lib/pepperflash/libpepflashplayer.so in Chrome://plugins.
Well, yaourt-s chromium-pepper-flash various versions, the result is not down resources:
Error: Unable to download google-chrome-stable-37.0.2062.94-1.i386.rpm
Error: Unable to download google-chrome-unstable_current_i386.deb
Wait a minute
3. It seems that we can only find another way, since Chrome has this pepper-flash, then I'll go straight to get it.
(This can now be downloaded directly on the internet https://get.adobe.com/cn/flashplayer/?no_redirect)
Download the chrome installation package, or simply install a chrome, and then in/opt/google/chrome/pepperflash, I get libpepflashplayer.so,
Copy immediately to/usr/lib/chromium-browser/plugins/, no this directory only/usr/lib/chromium, see a few other plugins so in/usr/lib/chromium, good then put The libpepflashplayer.so is also copied here.
Restart chromium, go to chrome://plugins, no libpepflashplayer.so Ah! What's going on?
4. What about here, Chromium did not search the existence of libpepflashplayer.so, how to do?
Long online Search, I found the http://askubuntu.com/questions/158388/how-do-i-make-chromium-use-flash-from-google-chrome, there is a reply, Also need to modify/etc/chromium-browser/default
Download Google Chrome and extract libpepflashplayer.so From/opt/google/chrome/pepperflash in the Chrome deb file Copy li Bpepflashplayer.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/CHR Ome/pepperflash in the Chrome deb file
So I modified the/etc/chromium/default for:
12345 |
# Default settings for chromium. This file is sourced by /usr/bin/chromium # Options to pass to chromium #CHROMIUM_FLAGS="" CHROMIUM_FLAGS= "--ppapi-flash-path=/usr/lib/chromium/libpepflashplayer.so --ppapi-flash-version=14.0.0.177" |
One of the flash-version can be found in the/opt/google/chrome/pepperflash/manifest.json.
Finally, restarting the Chromium,flash plugin again is working correctly.
According to the above and did not work properly, when using chrome:plugs to view the plugin found a plug-in location is not under/usr/lib/chromium-browser/plugins/, but in/usr/lib/ chromium-browser/, so the document to this address, the above address is also changed to this address, but still can not work, think of a will be the original address under the/usr/lib/chromium-browser/plugins/ Delete the. So file and restart chromium again, the plugin is ready to work! Mom eggs, locked in the office, to stay here for the night ...
Ubuntu under Chromium install Flash Player