Fixing 'Adobe Flash Player was blocked because it is out of date' under Debian
After updating Chromium to version 59 under Debian 64 I was getting a message saying that 'Adobe Flash Player was blocked because it is out of date' whenever I opened a site with a Flash content.
Uninstall the out-of-date version:
$ sudo apt-get remove pepperflashplugin-nonfree
Download the up-to-date version:
$ wget https://fpdownload.adobe.com/pub/flashplayer/pdc/18.104.22.168/flash_player_ppapi_linux.x86_64.tar.gz
$ tar xzf flash_player_ppapi_linux.x86_64.tar.gz
libpepflashplayer.sofile to the
/usr/lib/chromium/pluginsdirectory (create it if it doesn't exist already):
$ sudo mkdir /usr/lib/chromium/plugins $ sudo cp libpepflashplayer.so /usr/lib/chromium/plugins
Tell Chromium where to look for Flash Player:
$ sudo echo 'export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=/usr/lib/chromium/plugins/ \ libpepflashplayer.so --ppapi-flash-version=22.214.171.124 --disable-bundled-ppapi-flash"' >> /etc/ \ chromium.d/default-flags
--disable-bundled-ppapi-flashflag is probably not needed but one never knows :)
Close all Chromium windows and run Chromium again.
chrome://restartin a tab won't update the Chromium flags so Chromium will still use the out-of-date version of Flash Player.
That's it. I hope it helped you.