As Adobe no longer supports Flash on Linux (see "NOTICE" below), is there a way to use Chrome's Pepper Flash plugin with Firefox?
NOTICE! Flash no longer is supported for Linux EXCEPT as part of Chrome (with the exception of the extremely out of date Firefox 11.2 version, even though it gets security updates, it is still ancient and not updated that frequently). This is detailed in the Roadmap for Flash Runtimes from Adobe. The relevant section is Platform support, sub section Personal Computers, section Linux, quoted here (January 14, 2015 was when this was pulled, and the most important lines in this have been bolded for important reasons because people won't want to read the whole thing here):
Linux
Adobe has been working closely with Google to develop a single, modern API for hosting plug-ins within the browser. The PPAPI, code-named "Pepper", aims to provide a layer between the plug-in and browser that abstracts away differences between browser and operating system implementations. You can find more information on the Pepper API at http://code.google.com/p/ppapi/.
Because of this work, Adobe has been able to partner with Google in providing a "Pepper" implementation of Flash Player for all x86/64 platforms supported by the Google Chrome browser. Google now distributes this new Pepper-based Flash Player as part of Chrome on all platforms, including Linux.
For Flash Player releases after 11.2, the Flash Player browser plug-in for Linux will only be available via the "Pepper" API as part of the Google Chrome browser distribution and will no longer be available as a direct download from Adobe. Adobe will continue to provide security updates to non-Pepper distributions of Flash Player 11.2 on Linux for five years from its release.
Flash Player will continue to support browsers using non-"Pepper" plug-in APIs on platforms other than Linux.
Adobe will not be providing a Pepper-based debug player implementation of the Flash Player browser plug-in on Linux.
As of Adobe AIR 3, Adobe has discontinued support for Adobe AIR for Linux operating systems.
Since Adobe no longer supports Flash on Linux, Chrome is one of the remaining options that ships with Flash included. This is a Chrome special case, as detailed in the Flash Roadmap from Adobe in the Linux subheading under Personal Computers.
You can use Pepper Flash (called "Fresh Player") on Firefox. Webupd8 even commented on it here and how to get it working (the linked article was posted on May 29, 2014 and may be out of date). The plugin may be usable as it seems to be suggested regularly in the Ubuntu IRC chats as a solution.
The below is extracted from the Webupd8 post:
NOTE: The wrapper used for this is in ALPHA stage and is likely to be EXTRAORIDNARILY unstable.
To summarize the steps they detail, though:
Install Fresh Player Plugin in Ubuntu (via PPA), by using the following commands:
The easiest method to use this means that you will unfortunately need to install Google Chrome for this to work. This is becauseFresh Player Plugin is just a wrapper for
libpepflashplayer.so
, so it needs this file which is bundled with Google Chrome. The easiest way to get this file is to simply install Google Chrome Stable - download it from here, then install it.2a. Alternatively:
Remove the flash plugin installed by APT: Remove/Purge these packages from the Software Center
flashplugin-installer
adobe-flashplugin
adobe-flash-properties-gtk
adobe-flash-properties-kde
or just run in a terminal:The Pepper Flash package doesn't replace the original library file, this is why up to this step, you can see both versions of the Flash plugin in the Add-ons page, and there's no way to be sure that Firefox will use the latest version. And you just can't disable one without disabling the other (If you disable one and restart, both will be disabled).
Optional (only use it if you want to tweak various settings): configure Fresh Player Plugin
Based on this website, you should try the following:
Worked for me.
Much of the information provided in the question as well as in the accepted answer is not valid any longer.
The easiest way for Ubuntu users to get the latest version of both the NPAPI and PPAPI plugin is to enable Canonical Partner and install the
adobe-flashplugin
package.By default Firefox uses the NPAPI plugin. However, the NPAPI plugin won't have all the features which the PPAPI plugin has. By installing the
browser-plugin-freshplayer-pepperflash
package (and restarting Firefox) Firefox will actually use the PPAPI plugin instead.First, get the flashplayer library (.so), either by downloading it in your browser from here or by using wget, e.g.
Then copy it into the right place, depending on your version of Ubuntu:
Ubuntu 16.10
From the command-line:
Ubuntu 17.04
Verify installation by going to about:plugins in firefox and check for 'Shockwave Flash' and version >= 25.