Thursday, October 29, 2015

Install Fresh Player Plugin In Ubuntu Via PPA (Pepper Flash Wrapper For Firefox)

Not so long ago I was telling you about Fresh Player Plugin, a new wrapper that's currently in alpha, which allows Linux users to use Pepper Flash (which is bundled with Google Chrome) in Firefox and other NPAPI-compatible web browsers.

Firefox Fresh Player Plugin

Well, in just over a week, Fresh Player Plugin evolved a lot and in my test, I actually didn't encounter any major issues: the sound works, video playback works with YouTube and other websites, full-screen videos work with multi-monitor setups, etc. So I've decided to upload Fresh Player Plugin to the main failsdownloads PPA so you can test it easily and stay up to date with the latest code from GIT.

As a reminder, the latest Adobe Flash Player versions are available on Linux only through Google Chrome, while other browsers are stuck with version 11.2. 

The Adobe Flash Player plugin that's bundled with Google Chrome is in the form of a PPAPI (or Pepper Plugin API) plugin and Mozilla isn't interested in adding support for it. 

That's why Rinat Ibragimov decided to create this wrapper so Firefox users can use the latest Pepper Flash from Google Chrome.

Also, the Fresh Player Plugin page has an important security note that you should read: "[...] the API itself doesn't make any sandboxing, it only allows sandboxed implementations. This particular implementation doesn't implement any sandbox. That means that if any malicious code breaks through plugin security, there are no additional barriers".


Install Fresh Player Plugin in Ubuntu via PPA


Important notes:
  • Fresh Player Plugin is installed under /usr/lib/mozilla/plugins/ and so it works with Firefox but it may not work with other NPAPI-compatible browsers. If you want to use it with some other web browser, you're on your own;
  • the plugin is still in early alpha stages and even though in my test it seems that most stuff works, it may not work for you. Also, it probably only works with a limited number of websites right now. You should only install it for testing purposes for now!

1. Install Fresh Player Plugin in Ubuntu (via PPA), by using the following commands:
sudo add-apt-repository ppa:nilarimogard/failsdownloads
sudo apt-get update
sudo apt-get install freshplayerplugin
You can also download the deb from HERE but installing it without adding the PPA means you won't get updates!

2. Fresh 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 (should also work with Chrome Beta and Unstable). That's it!

There are other ways of getting libpepflashplayer.so: via the installer available in the official Ubuntu 14.04+ repositories and via the Pepper Flash PPA which is also available for older Ubuntu versions - once installed, then you'll need to create a symbolic link for Pepper Flash to /opt/google/chrome/PepperFlash/libpepflashplayer.so or see step 3 for how to change the path to it.
    3. Optional (only use it if you want to tweak various settings): configure Fresh Player Plugin

    Here you'll find an example Fresh Player Plugin configuration - to use it, save this file, rename it to "freshwrapper.conf" and copy it under ~/.config/

    Use this configuration file to change the path to libpepflashplayer.so or to tweak the sound buffer if you have shuttering sound.

    The configuration options available in this file are pretty self-explanatory - you can configure the lower and higher bound for the audio buffer size, enable/disable accelerated rendering ("enable_3d"), change the device scale (useful for high DPI screens), set the fullscreen width or height if you have issues with this, change the path to libpepflashplayer.so along with command line arguments (like enabling hardware video decoding).

    To report bugs or help with its development, see the Fresh Player Plugin GitHub page.

    No comments:

    Post a Comment