Firefox won't play videos on webpages

Issues related to applications and software problems
Post Reply
holden
Posts: 13
Joined: 2016/05/30 10:37:15

Firefox won't play videos on webpages

Post by holden » 2016/06/12 18:44:39

Hi,

Running CentOS 7.2 and with stock Firefox it won't run videos on sites such as Twitter. I get the following issue:

Image

Any idea how I could fix it? flash-plugin is installed from the adobe repo.

Thanks.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Firefox won't play videos on webpages

Post by chemal » 2016/06/13 02:54:38

Normally, FF would load libavcodec.so from ffmpeg at runtime to play these videos. Because RH does not provide ffmpeg and some old versions crash FF, RH has disabled ffmpeg support altogether. The only fix is to make them enable it again.

To verify: downgrade to the first FF 45 Centos shipped, install ffmpeg from nux, and try again.

tengo
Posts: 4
Joined: 2017/05/27 12:36:17

Re: Firefox won't play videos on webpages

Post by tengo » 2017/06/13 11:07:54

Hi,

Is there any other options to fix this? I'm currently running FF 52.1 x64.

Thanks.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Firefox won't play videos on webpages

Post by TrevorH » 2017/06/14 12:16:33

It should already be fixed, the change made to disable ffmpeg support was subsequently backed out and all recent versions of firefox should work. Maybe you need to install ffmpeg?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tengo
Posts: 4
Joined: 2017/05/27 12:36:17

Re: Firefox won't play videos on webpages

Post by tengo » 2017/06/15 09:07:54

unfortunately its not working for me. I recall having to install an extra piece of software before. I think that was when I was using a Windows OS.

I don't have flash installed and would prefer not to install it. Could that be the problem?

I'm very new to CentOS and Linux in general, so any advice is welcome.

On a side note, I've also noticed I can't play video clips using the "videos" application that comes installed with CentOS 7. It advised me it can't find the plug-in and fails to find it when I choose the search option. I will see if there is another thread open for this issue, but thought I would mention it here in case it's relevant.

Thanks.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Firefox won't play videos on webpages

Post by TrevorH » 2017/06/15 09:21:54

Some web based videos require flash, others don't.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tengo
Posts: 4
Joined: 2017/05/27 12:36:17

Re: Firefox won't play videos on webpages

Post by tengo » 2017/06/15 09:34:57

ah, sorry, I should have been more specific. I was referring to Twitter, where I can only see images. I realise some media maybe linked from twitter to sites using flash, but I can't even view a gif. I only see "The media could not be played."

amk
Posts: 16
Joined: 2015/06/02 08:02:58

Re: Firefox won't play videos on webpages

Post by amk » 2017/06/26 08:41:28

FFmpeg itself will not do. Firefox uses gstreamer1 framework, same as Totem (Videos app).
You need to enable Nux repos (and EPEL for that matter, as Nux depends on it) and install gstreamer1-libav. Possibly gstreamer1-plugins-bad-freeworld too.
After that, FF should play most videos, there are still exception though, but mostly it should work.

tengo
Posts: 4
Joined: 2017/05/27 12:36:17

Re: Firefox won't play videos on webpages

Post by tengo » 2017/07/01 10:50:11

amk wrote:FFmpeg itself will not do. Firefox uses gstreamer1 framework, same as Totem (Videos app).
You need to enable Nux repos (and EPEL for that matter, as Nux depends on it) and install gstreamer1-libav. Possibly gstreamer1-plugins-bad-freeworld too.
After that, FF should play most videos, there are still exception though, but mostly it should work.
Hi,

thanks for your reply. I've been able to enable the the Nux repos and EPEL using these guides - http://ask.xmodulo.com/enable-nux-dexto ... -rhel.html & http://xmodulo.com/how-to-set-up-epel-r ... entos.html.

Could you explain more about installing gstreamer1-libav, please? I found the link below, but I'm confused why I needed to add the above repo's if I could use the details from the link below.
https://fedora.pkgs.org/25/rpmfusion-fr ... 6.rpm.html

thanks.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Firefox won't play videos on webpages

Post by TrevorH » 2017/07/01 10:59:00

Don't use yum repos designed for Fedora on CentOS.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply