LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Most videos are playing; some aren't (https://www.linuxquestions.org/questions/linux-newbie-8/most-videos-are-playing%3B-some-arent-4175604829/)

Gregg Bell 04-27-2017 11:34 PM

Most videos are playing; some aren't
 
1 Attachment(s)
Running Xubuntu 16.04LTS on a 64 bit Dell Optiplex GX 520. The browser is Firefox 53.0.(64-bit) All Youtube videos play all right but on some other websites I get this message when I click on the play arrow. (screenshot) Any idea what I need to do? Thanks.

Shadow_7 04-28-2017 01:54 AM

You would need the freshplayerplugin for firefox and the PPAPI version of flash. By the looks of that error. Not a default for most distro setups. But doable.

hydrurga 04-28-2017 03:50 AM

Can you give the URL of a sample site/video?

Also, what is the output from dpkg -l '*flash*' ?

BW-userx 04-28-2017 10:02 AM

you got a image of search paths that firefox uses to look for a flash plugin, get a pepper flash plugin.so create one of them search paths then move that file into it. fixed.

OR

just put it in
Code:

~/.mozilla/plugins/libpepflashplayer.so
for local use only.
That is where I have mine, but I too have done this the other way as well, both ways always works for me.

That one above, I got out of a deb file using ark to untar it.

Version 25.0.0.148

https://get.adobe.com/flashplayer/

I just checked my page and its outdated
I just downloaded another one from that sight
libflashplayer.so putting it in to the same home dir

even though it looks like this one
libpepflashplayer.so
is chugging right through them because I am not having any issues with watching Youtube videos with 25.0.0.127 libflashplayer.so being outdated already.

Rickkkk 04-28-2017 12:25 PM

I agree with BW-userx - you're just missing the pepperflash plugin that Firefox is expecting. I use neither Ubuntu nor Firefox, but pepperflash is a common requirement.

Cheers,

rokytnji 04-28-2017 12:39 PM

You can start with

Code:

sudo updatedb
Let it finish

then do

Code:

locate libpepflashplayer
To see if you got it or not.

rokytnji 04-28-2017 12:41 PM

For BW-X post.

Code:

locate libflashplayer
should suffice.

BW-userx 04-28-2017 01:10 PM

Quote:

Originally Posted by rokytnji (Post 5703652)
For BW-X post.

Code:

locate libflashplayer
should suffice.

then just do this to update it too.
Code:

userx%slackwhere ⚡ ~ ⚡> locate libflashplayer
/home/userx/libflashplayer.so
/home/userx/.mozilla/plugins/libflashplayer.so
/usr/lib64/mozilla/plugins/libflashplayer.so

# copy or move new one over top old outdated one.

userx%slackwhere ⚡ ~ ⚡> sudo cp -v /home/userx/.mozilla/plugins/libflashplayer.so /usr/lib64/mozilla/plugins/libflashplayer.so
'/home/userx/.mozilla/plugins/libflashplayer.so' -> '/usr/lib64/mozilla/plugins/libflashplayer.so'
userx%slackwhere ⚡ ~ ⚡>


Shadow_7 04-28-2017 01:24 PM

FreshPlayerPluin is a translation layer for NPAPI to PPAPI calls. That plus the pepperflash plugin works for most modern things. But still a manual process for many distros, so that means security updates are also manual. And flash tends to update at least monthly if not weekly for security updates. The NPAPI to PPAPI layer ensures that legacy games and other things still work. While presenting a modern / windows-ish version number that doesn't get you blocked by many sites these days.

For my setup:

$HOME/.mozilla/plugins/libfreshwrapper-flashplayer.so

$HOME/.mozilla/flash/libpepflashplayer.so
$HOME/.mozilla/flash/manifest.json

$HOME/.config/freshwrapper.conf


Where libfreshwrapper-flashplayer.so is from source:
$ git clone https://github.com/i-rinat/freshplayerplugin.git

Where libpepflashplayer.so and manifest.json are from the adobe.com .tar.gz.
https://get.adobe.com/flashplayer/
Click need Flash Player for another computer.
Step 1 to Linux (64 bit)
Step 2 to (PPAPI) and .tar.gz

Where freshwrapper.conf tells the plugin to look at $HOME/.mozilla/flash/ for the PPAPI plugin.
Code:

pepperflash_path = "/home/iceweasel/.mozilla/flash/libpepflashplayer.so"
Plus the other default bits in the example from the source tree of freshplayerplugin.

YMMV

AwesomeMachine 04-28-2017 06:15 PM

Just launch synaptic and do a search for pepperflash. Select the resulting packages and install them.

Gregg Bell 04-28-2017 10:30 PM

Quote:

Originally Posted by hydrurga (Post 5703421)
Can you give the URL of a sample site/video?

Also, what is the output from dpkg -l '*flash*' ?

Hi hydrurga. Here is the actual link from the screenshot in the OP. https://www.autocrit.com/editing/support/adverbs/

And here's the results of the command:
Code:

gregory@gregory-OptiPlex-GX520:~/Desktop$ dpkg -l '*flash*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture            Description
+++-=======================================-========================-========================-===================================================================================
un  adobe-flashplugin                      <none>                  <none>                  (no description available)
ii  browser-plugin-freshplayer-pepperflash  0.3.4-3ubuntu0.1        amd64                    PPAPI-host NPAPI-plugin adapter for pepperflash
un  flashplayer-mozilla                    <none>                  <none>                  (no description available)
un  flashplugin                            <none>                  <none>                  (no description available)
un  flashplugin-downloader                  <none>                  <none>                  (no description available)
ii  flashplugin-installer                  25.0.0.148ubuntu0.16.04. amd64                    Adobe Flash Player plugin installer
un  flashplugin-nonfree                    <none>                  <none>                  (no description available)
un  libflash-mozplugin                      <none>                  <none>                  (no description available)
un  libflashsupport                        <none>                  <none>                  (no description available)
rc  pepperflashplugin-nonfree              1.8.2ubuntu1            amd64                    Pepper Flash Player - browser plugin
gregory@gregory-OptiPlex-GX520:~/Desktop$

Thanks

Gregg Bell 04-28-2017 10:39 PM

1 Attachment(s)
Thanks guys. I'm a little uncertain about all the suggested commands though, especially since (per Awesome's advice) I looked in Synaptic and it seems I already have pepper flash (screenshot). Is this the case or do I need to run those suggested searches and commands?

AwesomeMachine 04-29-2017 02:43 AM

Pepperflash gets its actual flash plugin from the Chrome browser. If Chrome is not installed, pepper flash won't work. So, you should uninstall the pepperflash packages, install the Chrome browser, and reinstall the pepperflash packages. Then you should have HTML5 capability in firefox, which is what you want.

ondoho 04-29-2017 04:42 AM

Quote:

Originally Posted by Gregg Bell (Post 5703826)
Thanks guys. I'm a little uncertain about all the suggested commands though, especially since (per Awesome's advice) I looked in Synaptic and it seems I already have pepper flash (screenshot). Is this the case or do I need to run those suggested searches and commands?

honestly?
there's 2 packages.
one of them has a green square, the other an empty square.
what does that tell you?


on a sidenote...
many people are not making full use of the synaptic search function.
if you just enter the text in the little text field, you only get packages that have the exact string enetered in their name.
if, however, you press the magnifying glass you get more options, e.g. "look in description and name".

hydrurga 04-29-2017 08:01 AM

Ok, I'm going to go against the grain here, Gregg. If you're not using Chrome then you don't need Pepper Flash (at least for the moment as Firefox still supports NPAPI flash). In fact, because you have a residual configuration of pepperflashplugin-nonfree as well as an installed browser-plugin-freshplayer-pepperflash, things are not going to go smoothly as it is.

So, what I would suggest is that you close your browser and remove both peppers:

sudo apt-get --purge autoremove pepperflashplugin-nonfree browser-plugin-freshplayer-pepperflash

Then, reinstall flashplugin-installer just in case:

sudo apt-get --reinstall install flashplugin-installer

Then relaunch Firefox and test out the relevant videos again (the grammar one you posted works fine for me with Firefox and flashplugin-installer).


All times are GMT -5. The time now is 11:09 PM.