Peppermint OS Community Forum

Resources => User Submitted Tutorials => Topic started by: PCNetSpec on January 03, 2017, 10:50:57 am

Title: Installing pepperflash - flashplayer 24 - for Chromium 32bit
Post by: PCNetSpec on January 03, 2017, 10:50:57 am
[EDIT]

NO LONGER NECESSARY .. instead install adobe-flashplugin which contains both pepperflash and flashplayer .. see here:
https://forum.peppermintos.com/index.php/topic,4802.msg53995.html#msg53995
for instructions

[END EDIT]


The following instructions are for 32bit Peppermint ONLY .. this pepperflash version will NOT work in 64bit Chromium.

If you're running 64bit Peppermint, use the instructions at the following link instead:-
https://forum.peppermintos.com/index.php/topic,4893.0.html



Open a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get remove --purge pepperflashplugin-nonfree
then
Code: [Select]
sudo mkdir -p /usr/lib/adobe-pepflashplugin
then
Code: [Select]
cd /usr/lib/adobe-pepflashplugin
then
Code: [Select]
sudo wget --no-check-certificate https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux32/flash_player_ppapi_linux.i386.tar.gz
then
Code: [Select]
sudo tar xvf flash_player_ppapi_linux.i386.tar.gz
then
Code: [Select]
sudo pluma /etc/chromium-browser/customizations/01-adobe-pepflashplugin
and when a BLANK file opens, make it read:-
Code: [Select]
flashso="/usr/lib/adobe-pepflashplugin/libpepflashplayer.so"
flashjson="/usr/lib/adobe-pepflashplugin/manifest.json"
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$(grep version $flashjson | sed 's|.*"version": ||;s|"||g;s|,||')"
SAVE that file, and exit pluma.

Now close ALL running instances of Chromium .. reopen Chromium, and go to:-
chrome://plugins
it should show you're running:-
Quote
Adobe Flash Player - Version: 24.0.0.xxx
Shockwave Flash 24.0 r0
    Name:                Shockwave Flash
    Description:       Shockwave Flash 24.0 r0
    Version:             24.0.0.xxx
    Location:            /usr/lib/adobe-pepflashplugin/libpepflashplayer.so



To UNDO

Open a terminal and run:
Code: [Select]
sudo rm -v /etc/chromium-browser/customizations/01-adobe-pepflashplugin
then
Code: [Select]
sudo rm -rv /usr/lib/adobe-pepflashplugin
then restart Chromium