This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Videos not playing in Firefox

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by James

more options

Every time I tried o watch a video in Firefox, any website, I get the error "There was an error loading or playing the video". But when I try using Chrome, everything works just fine. What do I have to do?

Every time I tried o watch a video in Firefox, any website, I get the error "There was an error loading or playing the video". But when I try using Chrome, everything works just fine. What do I have to do?

All Replies (2)

more options

I'm using Ubuntu, btw.

more options

Do you have FFmpeg and perhaps libavcodec packages installed?

Patent and copyright restrictions are among reasons why many Linux distros do not come with packages such as FFmpeg in a new install as it provides codecs needed to fully support HTML5 players.

As you using a flavour of Ubuntu so perhaps see https://linuxconfig.org/ubuntu-20-04-ffmpeg-installation or https://help.ubuntu.com/community/RestrictedFormats

Chrome/Chromium basically cheats by coming with its own codecs.