Peppermint OS Community Forum

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

Title: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on January 03, 2017, 10:55:11 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]




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/linux64/flash_player_ppapi_linux.x86_64.tar.gz
then
Code: [Select]
sudo tar xvf flash_player_ppapi_linux.x86_64.tar.gz
then
Code: [Select]
sudo pluma /etc/chromium-browser/customizations/01-adobe-pepflashplugin
and 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
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit
Post by: rod_stone on March 14, 2017, 09:30:17 am
Will this procedure mess up the flash plugin for Chrome if you want to use both Chromium and Chrome?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 14, 2017, 10:03:26 am
NO it won't interfere with Chrome's pepperflash, but the procedure above is now outdated.

The instruction below should now also work for 32bit Chromium too.

The best way to get pepperflash for Chromium now would be to run these commands in sequence
Code: [Select]
sudo apt-get remove --purge pepperflashplugin-nonfree  flashplugin-installer
then
Code: [Select]
sudo add-apt-repository ppa:peppermintos/p7-pepperflash
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install browser-plugin-freshplayer-pepperflash bunsen-pepperflash 
Now close ALL Chromium browser instances and reopen one.

Now go here:
http://www.adobe.com/products/flash/about/
or here:
https://helpx.adobe.com/flash-player.html

and check it says:-
You have version 24,0,0,221 installed

You MAY have to go here in Chromium:
chrome://plugins/
and make sure there's a tick in the "Always allowed to run" box:-

  (https://i.imgur.com/sVmFb3T.png)
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 14, 2017, 01:35:40 pm
Thank you very much! It works! BTW, the reason I have installed Chromium is because Chrome of late is functioning a little funny with Facebook : when clicking  on a new post window, it will crowd up the space for the new message by different add-on buttons - photos, emoticons, etc. I notice Firefox does not have this glitch, but I am so accustomed to Chrome, so decided to try out Chromium...
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 14, 2017, 02:56:42 pm
You're most welcome :)
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 05:50:43 am
still I have noticed Chromium won't play some videos on vimeo and some other flash vids, while Firefox has no problem.  What can be done about that?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 08:01:14 am
can you give us some examples ?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 08:42:21 am
What do you mean? do I supply a screenshot of a looping video?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 08:52:31 am
also, I'm not receiving email notifications of the posts, comments that I'm following. How come? How should I fix it?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: murraymint on March 16, 2017, 09:09:18 am
How about a link to a video you can't play?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 09:14:20 am
https://vimeo.com/161143719
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 09:18:40 am
also, I'm not receiving email notifications of the posts, comments that I'm following. How come? How should I fix it?

Either click the "NOTIFY" button at the top of individual topics you want to receive notifications for.

or

Go to your Forum Profile, select "Notifications" on the left, and tick the box entitled "Turn notification on when you post or reply to a topic"
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 09:21:19 am
OK, done that. Thanks!
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 09:23:53 am
That vimeo video is working for me in Chromium :-\ .. is it working for anyone else ?
(audio is naff on it, right up until the crowd applauds at the end .. but that's obviously not a Chromium problem)
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: murraymint on March 16, 2017, 09:25:30 am
I tried it in Firefox first, where I had to enable javascript a couple of times before it played.

In Chromium it just works for me.
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 09:34:12 am
My Chromium won't play it. Firefox, Chrome do.
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 09:40:29 am
So it wont even play it from this forum ?

can you go to
chrome:plugins
and take a screenshot of the flash section
then host it on say IMGUR
http://imgur.com
and post a link.

Also, make sure there's only ONE flash section.
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 09:47:17 am
Adobe Flash Player - Версия: 24.0.0.221
Shockwave Flash 24.0 r0
Имя:   Shockwave Flash
Описание:   Shockwave Flash 24.0 r0
Версия:   24.0.0.221
Расположение:   /usr/lib/adobe-flashplugin/libpepflashplayer.so
Тип:   PPAPI (вне процесса)
    Отключить
Типы MIME:   
Тип MIME   Описание   Расширения файлов
application/x-shockwave-flash   Shockwave Flash   
.swf
application/futuresplash   FutureSplash Player   
.spl
Отключить   Запускать всегда
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 09:50:33 am
sorry this was a copied text from the plugin section. Imgur requires a sign up. How about a google drive link? Another problem is it is russified, since I'm Russian and all software is russified.
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 09:59:20 am
Okay, you're still using the wrong pepperflash

what's the output from:
Code: [Select]
dpkg -l | grep flash
and
Code: [Select]
ls -a /etc/chromium-browser/customizations
and the contents of
Code: [Select]
pluma /etc/chromium-browser/default
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 10:08:46 am
Code: [Select]
renat@renat-Lenovo-G50-45 ~ $ dpkg -l | grep flash
ii  adobe-flash-properties-gtk                  1:20170214.1-0ubuntu0.16.04.1              amd64        GTK+ control panel for Adobe Flash Player plugin
ii  adobe-flashplugin                           1:20170214.1-0ubuntu0.16.04.1              amd64        Adobe Flash Player plugin
ii  browser-plugin-freshplayer-pepperflash      0.3.4-3ubuntu0.1                           amd64        PPAPI-host NPAPI-plugin adapter for pepperflash
ii  bunsen-pepperflash                          8.0-1+peppermint1                          amd64        Pepper Flash Player - browser plugin
renat@renat-Lenovo-G50-45 ~ $

# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS=""
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 10:21:47 am
how do I install the right pepperflash?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: murraymint on March 16, 2017, 10:57:11 am
Imgur requires a sign up.
It shouldn't. Click the green drop-down that says New post and then Upload images.

Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 11:20:40 am
http://imgur.com/a/HcjBf

if this helps
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 16, 2017, 12:28:59 pm
So is there a way for me to install the right version of pepperflash?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 16, 2017, 05:57:37 pm
Run:
Code: [Select]
sudo apt-get remove --purge adobe-flashplugin adobe-flash-properties-gtk
then
Code: [Select]
sudo apt-get install --reinstall browser-plugin-freshplayer-pepperflash bunsen-pepperflash
then close ALL web browser instances

reopen Chromium

then post a screenshot of
chrome:plugins
again
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 17, 2017, 01:05:28 am
http://imgur.com/a/D8I2z
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 17, 2017, 01:13:32 am
Flash updated to 25.0.0.127, still it won't play that darn video. Or this http://www.currenttime.tv/a/manhoffarchive-stalin/28359843.html
Firefox plays it just fine.  If I remove and reinstall chromium, would that help the problem?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: AndyInMokum on March 17, 2017, 03:53:43 am
Hi rod_stone, here's tip you may find useful.  When you post an image from imgur.  You can have it display directly in the forum, rather than linking it to another page.  To do this, first open imgur and select the image you want to use.  In the right hand column, there are a select of links for different usages.  Select the: BBCode (message boards & forums) link and select: Copy.  As an example, the relevant link is highlighted in green in the image below.

Click on Image to Enlarge

(http://i.imgur.com/9caEBPZ.png)

Paste the link you've just copied to the forum.  You can encapsulate link with the Centered function if you want.  Check how it'll look by using the: Preview button that's next to the: Post button.  I hope you find this useful  ;).
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 17, 2017, 07:46:45 am
Okay, it's not a problem with the flashplayer itself because Chrome and Firefox will now be using the same one.

So try this .. in Chromium go to
chrome:settings

Scroll to the bottom and click "show advanced settings"

Now add/remove the tick from "use hardware acceleration when available"

Then restart Chromium.

Does that make any difference ?

If not, do you have any plugins installed in Chromium ?
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 17, 2017, 10:27:48 am
No, it does not, unfortunately. I ended up removing Chromium altogether.
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: rod_stone on March 18, 2017, 06:51:07 am
Folks, I have installed back Chromium, now the flash seems working just fine! Thank you all developers and helpers here so much for all your work and patience with lame users like myself! Thank you all and keep up the good work!
Title: Re: Installing pepperflash - flashplayer 24 - for Chromium 64bit (and now 32bit)
Post by: PCNetSpec on March 18, 2017, 11:40:13 am
Great news, thanks for the update :)