Ubuntu under Chromium install Flash Player

Source: Internet
Author: User

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:

    • Chromium-pepper-flash-Stable version

    • Chromium-pepper-flash-dev-Development version

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.