How to change version of flash plugin for Vivaldi on linux
I'm running 32 bit debian linux, tracking the testing distribution.
The last version of pepperflashplugin for 32 bit linux was 1.8.2, after which google discontinued 32 bit linux for chrome:
==> apt-cache policy pepperflashplugin-nonfree
*** 1.8.2 500
500 http://snapshot.debian.org/archive/debian/20160201 testing/contrib i386 Packages
However, it seems that now adobe has restarted the linux version of flash plugins and the latest one is 184.108.40.206, just as for other operating systems: http://www.adobe.com/software/flash/about/
I've installed this latest version using the update-flashplugin package, but there seems to be no way to tell vivaldi to use this one (even after removing the pepperflash and restarting the browser):
==> update-flashplugin-nonfree --status
Flash Player version installed on this system : 220.127.116.11
Flash Player version available on upstream site: 18.104.22.168
flash-mozilla.so - auto mode
link best version is /usr/lib/flashplugin-nonfree/libflashplayer.so
link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
link flash-mozilla.so is /usr/lib/mozilla/plugins/flash-mozilla.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
/usr/lib/gnash/libgnashplugin.so - priority 10
Is there a way to tell vivaldi a PATH to use when looking for plugins (as was possible in opera) so it will pick the adobe flash first, if available?
vivaldi sticks to the pepperflash even though the adobe one is for opera/chromium-based browsers:
Adobe Flash Player - Version: 22.214.171.124
Shockwave Flash 21.0 r0
Name: Shockwave Flash
Description: Shockwave Flash 21.0 r0
Type: PPAPI (out-of-process)
P.S. changing to 64-bit linux is not an option
I should add that chromium uses the plugin in /usr/lib/pepperflashplugin-nonfree
and that copying the latest library from adobe in this location will work:
http://www.adobe.com/software/flash/about/ shows chromium is using flash version 126.96.36.199
The same cannot be done for vivaldi as the hash in the .config/google-chrome/PepperFlash will not match it
and the browser will not load it.
Since update of pepper flash packages on Debian failed, i use Ruari Oodegards script https://gist.github.com/ruario/215c365facfe8d3c5071
Don't we should warn unaware user?
That script (by default) place the extracted files into default Google Chrome Flash installation folder.
OK if we don't have Chrome. But could mean trouble if otherwise.
Set Output dir
Don't we should warn unaware user?
Sorry, not my script.
If you are concerned the script may break users OS, please add a comment at https://gist.github.com/ruario/215c365facfe8d3c5071 or contact https://forum.vivaldi.net/user/ruario
And the user who asked uses Debian Testing channel which is really a distribution which is less stable and more experimental.
The user might know what he does.
I and other Linux users never had problems with the script.
I tried this but note that vivaldi (and google-chrome) use the libflashplayer in my user directory:
~/.config/google-chrome/PepperFlash, which is not modified by the script.
It seems there is a need to generate an authentication file for this library for vivaldi and chrome to accept it (although chromium worked fine without it). Here are the contents of the directory where both vivaldi and google-chrome get the flashplugin:
=> ls ~/.config/google-chrome/PepperFlash
4 188.8.131.52/ 4 latest-component-updated-flash
=> cat ~/.config/google-chrome/PepperFlash/latest-component-updated-flash
Without generating the correct hash for latest-component-updated-flash, vivaldi and chrome will revert to the 184.108.40.2066 flash plugin that shipped with my last version of 32 bit chrome.
However, by removing my user directory ~/.config/google-chrome/PepperFlash and then copying the latest libpepflashplayer.so and manifest.json from adobe to /opt/google/chrome/PepperFlash, everything worked on both vivaldi and chrome with the last flash player 220.127.116.11:
http://www.adobe.com/software/flash/about/ reports the flash version as 18.104.22.168 on both vivaldi and chrome
vivaldi reports in vivaldi://plugins that this is:
Adobe Flash Player - Version: 999.999.999.999
Shockwave Flash 999.999 r999
chrome reports this is Adobe Flash Player - Version: 22.214.171.1246, the version that came with the last google-chrome package for 32bit linux.
Err... If you check it from Chrome. It will reinstate the same Flash plugin to folder you just rename when you start it.
Test on this page instead (on Vivaldi)
Dang... do you hate AK-47 mouse? I submit too fast.
@dLeon I tried restarting the browsers and chrome did indeed create an empty ~/.config/google-chrome/PepperFlash directory, but otherwise everything still works as before with the latest 126.96.36.199 flash plugin on both vivaldi and chrome.
@JSJB P.S. I verified the browsers are using the latest flash version 188.8.131.52 by going to http://www.adobe.com/software/flash/about/ and also by right-clicking on some running videos and checking that the version was 184.108.40.206.
Yeah, I also just tried your steps above. Cool version number isn't it?
The Flash test I ran on random pages seem to run OK.
Seem Vivaldi didn't (yet) check for common 3rd party plugins directories. This is new for me.
Using 64bit Ubuntu, Vivaldi does the same here.
When google-chrome is not installed, vivaldi uses
When google-chrome is installed, vivaldi uses
Appears to search the google-chrome directories first as this was the method used to get flash
to work previously.
PS: Here in Ubuntu all I need do for flash is install the package adobe-flashplugin.
pepperflashplugin-nonfree is not installed.
@CantankRus Adding the choice of flash plugin would be a good thing to add to /etc/default/vivaldi, so it's clear how the path to the library is controlled (on a system-wide basis).
(Stolen from i-rinat freshplayer github project)
Each one of these being also checked by default by current Opera & Brave browser. Forgot which one for who.
lib* above, can be lib, lib32, lib64, lib-i386, or lib-x86-64.
Probably all of that depend on distro which actualy package Flash ppapi.