Originally Posted by
electrodan
Hello,
Firstly - it doesn't work in Firefox 60 (shows white screen where flash content should be), or Chromium (DRM error). I worked around this by installing Firefox ESR 52:
Hi,
It works on FF 60 here on Ubuntu 18.04. Problem is, as you observed correctly webupd8's freshplayerplugin is out of date (may not even be available for Ubuntu 18.04). FF made some changes around version 52 or 53 which broke freshplayer but it was fixed later. Not sure how old is "browser-plugin-freshplayer-pepperflash", probably still old if only works with FF-ESR. You need to compile freshplayerplugin from source for it to work for FF 60.
While bionic was late beta someone sent me a pm about this, here was the up to date instructions I cut and paste from my reply, still works:
So you'll have to compile flashplayer from source. The steps are also a bit different from that forum post. You need to install chrome to get its pepperflash to "initialize" freshplayer (but it won't work on drm) When all is done chrome can be removed and its copy of pepperflash deleted.
1) Remove flash you have installed from the repo (adobe-flashplugin or flashplugin-installer, something like that) and delete the freshwrapper.conf you have created following the forum post
2) get chrome-book's image and extract flash as in the forum post. Put it somewhere, say /home/usr_name/PepperFlash
3) Download chrome. It seems that Chrome no longer bundles flash by default. In the url bar type about:components. Check the flash tab, if it is a bunch of zeros that means it is not installed, click update flash and it will download and install pepperflash in your machine.
Note the full path of pepperflash it installs. On my machine it is
Code:
/home/monkeybrain/.config/google-chrome/PepperFlash/29.0.0.113/libpepflashplayer.so
Edited: the path for Chrome66 is now /home/monkeybrain/.config/google-chrome/PepperFlash/29.0.0.171/libpepflashplayer.so, also Chrome does download flash automatically, probably some glitches on my beta install back then.
4) compile freshplayerplugin.
Download the source code as a zip file (click the green tab clone or download) here. .
Before you start compiling you need some build tools
Code:
sudo apt install build-essential cmake
Now just follow the instructions to install the prerequisites and go through the build steps, they are pretty straight forward (just cmake -options .. and make, don't do make install)
5) When you are done building. Close firefox. Open your File manager, find the hidden file .mozilla , create a subfolder called "plugins" (without quotes) inside. Now go in your freshplayerplugin folder, inside the build folder you can find libfreshwrapper-flashplayer.so, copy it to ~/.mozilla/plugins
6) Inside the freshplugin folder there is a subfolder called data. Rename the file inside as freshwrapper.conf, open it with an editor, go to line 40 pepperflash_path, remove the # in front and change the path to where chrome installed its flash, in my case it is, as above
Code:
/home/monkeybrain/.config/google-chrome/PepperFlash/29.0.0.113/libpepflashplayer.so
change enable_3d to 1 (line 46)
7) copy the file from step 6 to ~/.config
8) Now open Firefox, go to Tools > Addons > Plugins to check that flash is there, it should be version 29
Now freshplayer is initialized (at this point you can uninstall Chrome and delete the copy of pepperflash it installed)
9) Close firefox, and edit freshwrapper.conf again, go to line 40 and change the path to your chrome-ook flash in step 2. (you need to initiaze freshplayerplugin because chrome-book's flash apparently has different versioning, if you skip 6 -8 an go directly to 9 Firefox would report flash version as 0.0.0.0 and none of the flash site would load)
10) start Firefox and do the drm test.
P.S Won't work for Chromium, I have asked the dev of freshplayerplugin.
Bookmarks