Daily Ubuntu / Linux news and application reviews.

ads

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. (hardware acceleration doesn't work properly yet though!). So I've decided to upload Fresh Player Plugin to the main WebUpd8 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.


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/webupd8
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. That's it!

There are other ways of getting libpepflashplayer.so but I won't post installation instructions for all of them here. Instead, I'll just list them below:
  • if you're using Google Chrome Unstable, create a symbolic link from /opt/google/chrome-unstable/PepperFlash to /opt/google/chrome/ or change add a freshwrapper.conf file and add the /opt/google/chrome-unstable/PepperFlash/libpepflashplayer.so path there - see step 3;
  • you can install Pepper Flash using 2 other ways: 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/freshwrapper-data/

Use this configuration file to change the path to libpepflashplayer.so or to tweak the sound buffer if you have shuttering sound. Don't use it to enable hardware acceleration yet as it doesn't work properly for now!

The configuration options available in this file are pretty self-explanatory - you can configure the lower and higher bound for the audio buffer size, change the Xinerama screen used to acquire fullscreen window geometry (default: 0), 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.
«
Next
Newer Post
»
Previous
Older Post