Use Pepper Flash in Firefox, as quickly as possible

Before going any further, understand that there are two ways of doing this. One requires you install Google Chrome. The other may not keep you current as quickly. Choose what you want to prioritize, then perform either of the steps below. Everything (at least when not using the Freshwrapper PPA) will be explained in-depth below. everything is broken now and you’re forced to do things a little differently.

#Why the update?
Google effectively broke the browser-plugin-freshplayer-pepperflash plugin with version 54 of Google Chrome, since they’ve seem to have discontinued Pepper Flash support there (as in, it’s not even in /opt/google!)

Since this has happened, I’m forced to revise this. To see the older version, simply view the previous edit of this thread.

#Cracking pepper

Using Ubuntu Artful?

If you still want to use this approach, and are using a legacy copy of Firefox (Firefox ESR, for instance) then you might encounter issues with this approach until you seek and install the 2.0 revisons of packages libevent-core and libevent-pthreads. Below are links for each:
https://packages.ubuntu.com/zesty/libevent-core-2.0-5
https://packages.ubuntu.com/zesty/libevent-pthreads-2.0-5

Core must be installed first, then pthreads as follows, if you cd to where you saved them:
sudo dpkg -i libevent-core-2.0-5* && sudo dpkg -i libevent-pthreads-2.0-5

After, the rest should continue without errors.

###Finding Pepper
Before reading on, I’ve uploaded the latest version of the shell object file required to MediaFire and made a redirect to it, which will be used below.

Begin with doing sudo apt install browser-plugin-freshplayer-pepperflash and letting that do its thing. When it comes to extracting the latest version of Chrome, this part of the install process will fail because Chrome 54 no longer has the PepperFlash directory. Now you can decide on what to do next with either series of events below;

###Giving Fresh Player what to expect
After performing the above, do the following;

sudo wget https://tinyurl.com/libpepflash -O /opt/google/chrome/PepperFlash/libpepflashplayer.so```

###Telling Fresh Player what to expect
If you'd rather define your own path for Pepper Flash, then the following will help you figure this out. I will assume the path for the shell object will be in `/opt` only, adjust to preference.
```wget https://raw.githubusercontent.com/i-rinat/freshplayerplugin/master/data/freshwrapper.conf.example -O ~/.config/freshwrapper.conf
sudo wget https://tinyurl.com/libpepflash -O /opt/libpepflashplayer.so```
After, open `~/.config/freshwrapper.conf` in your favourite text editor and scroll down; it seems line 40, the one that needs editing is commented out, but it still works; De-comment it and edit the path so it reads where you put it, in this case `/opt/libpepflashplayer.so`

#Why do this at all?
Because Flash is old and cranky on Linux. Previously Google Chrome had Peooer Flash support, though considering installing the latest version of Chrome doesn't provide the path to Pepper as expected (unless they changed it), I once again have to tell people to do it the hard way. It sucks, a lot and it's tedious but if you really need Flash because your favourite websites haven't updated to HTML5 content then this is one way which I know works. As for people who are concerned about sandboxing the browser (as Pepper Flash itself is sandboxed in Chrome), concerned users can perform the following;

`sudo apt-get install firejail`

Then run `firejail firefox` next time you want the browser, which firejail will then sandbox and execute. You can use firejail for other browsers and programs too, if you want to sandbox them as well.

#Information sources
http://www.webupd8.org/2016/03/fix-failed-to-fetch-google-chrome_3.html
http://www.webupd8.org/2014/05/install-fresh-player-plugin-in-ubuntu.html
The various people in this thread who made me curious enough to find out how to avoid installing Chrome.

#Corrections
Fixed the lacking sudo in the first series of commands (I assumed everybody realized my faux pas) and fixed the direct download link for MediaFire. Super-sorry about leaving this to rot prior. Also try out some of the other advice below if this guide doesn't work, but this is the most realiable way I can do things fo the time being.

Most recent update is to modify the reasoning behind performing the above. There is no reason I should be editing this further.
1 Like

Hey, Lets not install chrome, rather install chromium, if we only want pepper flash then it is a fore floss alternative to chrome.
:slightly_smiling:

I use pepper flash with chromium (its in our software sources).

I just wonder why the same cannot be used with FF, instead of installing chrome.

Because Pepper uses its own API, not reliant on the Netscape Plugin API. Freshwrapper acts to make Pepper NPAPI-compliant.

Hi tiox

I did not explain this well, sorry.

From Install Fresh Player Plugin

There are other ways of getting libpepflashplayer.so: via the installer available in the official Ubuntu 14.04+ repositories

Making a Chrome install unnecessary, but will need to be configured or do I misunderstand.

There are other ways, but skunk’s PPA was giving me trouble on other systems, and simply installing the browser it’s suppose to go with tends to work better long-term if all one cares about is “Being current.”

Edit: Was typed on a smartphone earlier.

Yes, I see what your saying, thank you.

Sorry about my English prior, smartphones suck. Also, I managed to update this thread with info for at least Ubuntu Wily users. Anyone less lazy than I want to see how far back in Ubuntu’s timeline you can go before you can’t install browser-plugin-freshwrapper-pepperflash from multiverse?

Can I be allowed to edit the OP? Because I think one of the code blocks is hiding some other text. Else, an admin can attempt to fix my mistake.

This may be the 60 day rule and/or your trust level. Not sure. Its now a wiki post, please edit away.

You know, I tell a lie; I think everything was fine. Either that or some malformed text was hiding something else for some other reason. Goodness knows with how Discourse smashes together markup and BBCode, and how my size tags shall blink until the end of days because of Discourse abandoning some BBcode formatting.

Speaking of Discourse’s use of markup, why doesn’t this strikeout text like Discord does?

Why not use the software boutique to install Chrome. A much easier process, especially for the new comers.

I mean, if you prefer to use Chrome over Firefox, by all means. I prefer to use Firefox myself, and also, I try to minimize GUI operations which require me to take a screenshot and point out buttons.

Part of the cool thing about Linux; Over 90% of the things you need to do to get stuff done can be from the terminal, and detailed as written word, made usable as commands. :slight_smile:

Everything is broken so I had to fix my guide. On the plus side, I made the last version of Pepper Flash before Google removed it from future Chrome builds available via https://tinyurl.com/libpepflashplayer

You sure want to read this before doing this tutorial.

#flashplugin-installer still installs Flash 11 which some websites refuse to allow, so lolnoplskthxbai

It's too easy install the latest Adobe Pepper Flash plugin for Firefox, Chromium or Vivaldi.

·Ubuntu/Linux Mint/Debian-64bit:
:one: Open a Terminal :computer: and write these commands...
:two: sudo apt-get update
:three: sudo apt purge --remove adobe-flashplugin pepperflashplugin-nonfree flashplugin-installer
:four: sudo apt-get install pepperflashplugin-nonfree
.......if this one doesn't work write this: sudo apt-get install adobe-flashplugin
:five: sudo apt-get install browser-plugin-freshplayer-pepperflash
:six: If you installed adobe-flashplugin(step 4b) write this: sudo rm -f /usr/lib/adobe-flashplugin/libflashplayer.so
:seven: Close and open your browser again.
:wink: September/2017...From Colombia, South America :blush:

I edited this guide so the same exact steps with some extra stuff for Artful users still works. Also fixed the download link for libpepflashplayer.so

I’ve tried the Adobe Flash thing in the past, never seemed to work and / or was outdated in some websites. My above steps work because I followed my own (modified) advice several hours ago to watch some Flash content.

As for defectors that keep saying Pepper Flash is so unnecessary and produces a lot of additional overhead for fresh wrapper, that might be the case but until the latest Flash from Adobe is installable via PPA I can’t follow old advice for older systems. adobe-flashplayer isn’t available for Artful. That makes previous advice most unfortunate for people who are keeping current due to security concerns.