Fresh Player Plugin: Pepper Flash Wrapper For Firefox And Other NPAPI-Compatible Browsers
As you probably know, 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.
For this reason, Rinat Ibragimov (who's also behind libvdpau-va-gl,
a VDPAU driver that, among others, brings Adobe Flash Player hardware
acceleration on Intel Graphics) has started working on a Pepper Flash
NPAPI wrapper which aims to bring Google Chrome's Pepper Flash to
Firefox, Opera, etc., called Fresh Player Plugin.
Fresh Player Plugin is in early alpha and still needs work! In my test
with the latest Fresh Player Plugin from GIT, YouTube videos didn't
play at all while DailyMotion videos worked but the sound was very
choppy. So it can't really replace Adobe Flash for Firefox users yet but
still, the project is very promising:
Update: WebUpd8 reader hrv posted a comment below saying that both the video and sound worked on YouTube for him. So Fresh Player Plugin might be in a more advanced stage than I initially thought.
If you can help with its development, check out the Fresh Player Plugin GitHub page.
It's also worth mentioning, in case you didn't know, that Mozilla is working on its own Flash replacement: Shumway,
which is open source and uses HTML5. But, like the new Fresh Player
Plugin, Shumway needs a lot of work until it can fully replace Adobe
Flash too.
Test Pepper Flash Plugin
Currently, to test Fresh Player Plugin
(remember, it's in early development stages and its functionality is
limited; it doesn't work with many websites, including YouTube!) you must build it from source. The instructions below are a rough guide on how to compile it in Ubuntu but it doesn't guarantee it will work so unless you have experience with building packages from source, I suggest you wait until Pepper Flash Plugin becomes more stable, then I'll upload it to a PPA.
1. Install the required dependencies:
sudo apt-get install build-essential git cmake pkg-config libglib2.0-dev libasound2-dev libx11-dev libgl1-mesa-dev liburiparser-dev libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libfreetype6-dev libgtk2.0-dev
2. Build Fresh Player Plugin
cd
git clone https://github.com/i-rinat/freshplayerplugin.git
cd freshplayerplugin && mkdir build
cd build
cmake ..
make
3. Once it's built, copy libfreshwrapper.so from the build folder to the browser plugin directory. For Firefox, copy it to /usr/lib/mozilla/plugins/
4. Fresh Player Plugin is just a wrapper for Pepper Flash from Google Chrome so you'll need libpepflashplayer.so. The Pepper Flash path is hardcoded to /opt/google/chrome/PepperFlash/libpepflashplayer.so and to get libpepflashplayer.so under that location you'll have to do one of the following:
- install Google Chrome stable (that's it!); or
- if you're using Google Chrome unstable, create a symbolic link from /opt/google/chrome-unstable/PepperFlash to /opt/google/chrome/ ; or
- on Ubuntu, 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 - once installed, then you'll need to create a symbolic link for Pepper Flash to /opt/google/chrome/PepperFlash/libpepflashplayer.so
Nenhum comentário:
Postar um comentário