Firefox will not display youtube videos

Asked by tomdean

Ubuntu 20.04

Today, I used apt upgrade, which included firefox to version 110.0 64-bit.

Now, firefox will not display youtube videos - just hangs in the loading loop.

I waited 5 minutes.

Any ideas?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hector Gibson (mrgebsen) said (last edit ):
#1

Hi, there I just checked your problem is solved step by step here you can give a quick look, - https://www.repairwin.com/fix-youtube-video-not-loading-on-firefox/,, https://famewide.com/

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For diagnostic purposes, what is the output of the commands (to be executed in a terminal window):

uname -a
lsb_release -crid
apt policy firefox
snap list | grep firefox

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you make a fresh Firefox profile and use that, is it OK?

Revision history for this message
tomdean (tomdean) said :
#4

On 2/22/23 23:40, Manfred Hampl wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes, what is the output of the commands (to be
> executed in a terminal window):
>
> uname -a
> lsb_release -crid
> apt policy firefox
> snap list | grep firefox
>

I do not use snap. I have removed it from my system.

 > uname -a
Linux aorus 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
 > lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
 > apt policy firefox
firefox:
   Installed: 110.0+build3-0ubuntu0.20.04.1
   Candidate: 110.0+build3-0ubuntu0.20.04.1
   Version table:
  *** 110.0+build3-0ubuntu0.20.04.1 500
         500 http://security.ubuntu.com/ubuntu focal-security/main amd64
Packages
         100 /var/lib/dpkg/status
      75.0+build3-0ubuntu1 500
         500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
 > snap list | grep firefox

Command 'snap' not found, but can be installed with:

Tom Dean

Revision history for this message
tomdean (tomdean) said :
#5

On 2/23/23 08:30, actionparsnip wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> actionparsnip requested more information:
> If you make a fresh Firefox profile and use that, is it OK?
>

 > mv .mozilla .mozilla-save
 > firefox
## still will not display youtube video

Tom Dean

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#6

Click the 3 horizontal bars top right of Firefox web page.
Click settings
Firefox Settings
Firefox Privacy & Security Tab
Check the Firefox pop-up blocker settings, can be turned off and on.
https://support.mozilla.org/en-US/kb/pop-blocker-settings-exceptions-troubleshooting
Firefox Privacy & Security Tab
Permissions settings:
Autoplay -> Click Settings -> Change to Allow Audio and Video -> Click Save Changes

Check Firefox General Tab:
Check Mark - Digital Rights Management Box
 __Play DRM-controlled content

Revision history for this message
tomdean (tomdean) said :
#7

On 2/23/23 10:45, Bernard Stafford wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Status: Open => Answered
>
> Bernard Stafford proposed the following answer:
> Firefox Settings
> Firefox Privacy & Security Tab
> Check the Firefox pop-up blocker settings, can be turned off and on.
> https://support.mozilla.org/en-US/kb/pop-blocker-settings-exceptions-troubleshooting
>
> Check Firefox General Tab:
> Check Mark - Digital Rights Management Box
> __Play DRM-controlled content
>

I removed the ~/.mozilla directory. Started firefox

Some messages:
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[2023-02-24T02:22:29Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-24T02:22:29Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-24T02:22:29Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-24T02:22:29Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-24T02:23:31Z ERROR mp4parse] Found 2 nul bytes in "\0\0"

But, still did not display youtube videos.

Tom Dean

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Did you look online for what those lines mean?

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#9

You removed the Firefox installation directory.
The installation directory is the directory where a Mozilla application stores its program files.
This applies to all Mozilla applications, including Firefox,

Revision history for this message
tomdean (tomdean) said :
#10

On 2/24/23 03:50, Bernard Stafford wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Bernard Stafford posted a new comment:
> You removed the Firefox installation directory.
>

Yes.

from mozilla:

mesa_glthread:
Since bug 1670545 we unconditionally override the mesa_glthread
env var when using the EGL backend on X11 to avoid crashes.
Unfortunately this triggers warnings from Mesa, cluttering debug
logs.

show_bug.cgi?id=1772085:
Apologies for the confusing error message but to clarify, the mp4parse
error is not a fatal error and won't affect playback. The cause of
playback issues is something else - looking back at the original comment
on this bug, this log message suggests no decoder is available for AAC:

Tom Dean

Revision history for this message
tomdean (tomdean) said :
#11

On 2/24/23 03:50, Bernard Stafford wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Bernard Stafford posted a new comment:
> You removed the Firefox installation directory.
>

Firefox recreated the .mozilla directory on first start.
Youtube videos will not play.

Tom Dean

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

The fact that playing videos in a browser does not work can be caused by two "culprits", either the browser program or by the video playback subroutines used the browser but packages separately.
Have you tried playing a youtube video in a different browser (e.g. chromium), and have you tried playing videos outside a browser (e.g. with vlc) and does that work or fail?
Have you tried playing other internet videos (outside youtube, e.g. facebook) and does that work?

Revision history for this message
tomdean (tomdean) said :
#13

On 2/25/23 01:15, Manfred Hampl wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The fact that playing videos in a browser does not work can be caused by two "culprits", either the browser program or by the video playback subroutines used the browser but packages separately.
> Have you tried playing a youtube video in a different browser (e.g. chromium), and have you tried playing videos outside a browser (e.g. with vlc) and does that work or fail?
> Have you tried playing other internet videos (outside youtube, e.g. facebook) and does that work?
>

This system has been my daily driver for the past year.

I could play youtube videos the day before the 'apt upgrade' using
firefox on this system. After the apt upgrade, I can not play youtube
videos.

I installed LVC. I can view a .mpg from the disk u sing LVC.

I can not play this same file with firefox - it just displays the first
frame and then nothing. Pausing the video and restarting does nothing.

Tom Dean

Revision history for this message
tomdean (tomdean) said :
#14

On 2/25/23 01:15, Manfred Hampl wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The fact that playing videos in a browser does not work can be caused by two "culprits", either the browser program or by the video playback subroutines used the browser but packages separately.
> Have you tried playing a youtube video in a different browser (e.g. chromium), and have you tried playing videos outside a browser (e.g. with vlc) and does that work or fail?
> Have you tried playing other internet videos (outside youtube, e.g. facebook) and does that work?
>

I did not look at command line messages with I tried to load the .mpg file.

=====================

Starting firefox and Opening .mpg:

 > /usr/bin/firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
** Message: 09:13:11.852: Missing plugin: gstreamer|1.0|totem|MPEG-1
System Stream demuxer|decoder-video/mpeg, systemstream=(boolean)true,
mpegversion=(int)1 (MPEG-1 System Stream demuxer)
** Message: 09:13:11.882: Automatic missing codec installation not
supported (helper script missing)

(totem:505851): Grilo-CRITICAL **: 09:13:20.997: grl_log_valist:
assertion 'domain' failed

=== continuing with the same instance of firefox ==================

Attempt to play a youtube video:

[2023-02-25T17:13:43Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-25T17:13:43Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-25T17:13:43Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
[2023-02-25T17:13:43Z ERROR mp4parse] Found 2 nul bytes in "\0\0"

================================================

The message: "Automatic missing codec installation not supported" is
interesting. How do I fix this?

I used 'apt upgrade' 02/11/2023 and 02/22/2023. From
/var/log/apt/history.log:

02/11/2023:
firefox-locale-en:amd64 (109.0+build2-0ubuntu0.20.04.1,
109.0.1+build1-0ubuntu0.20.04.2)
firefox:amd64 (109.0+build2-0ubuntu0.20.04.1,
109.0.1+build1-0ubuntu0.20.04.2)

02/22/2023:
firefox-locale-en:amd64 (109.0.1+build1-0ubuntu0.20.04.2,
110.0+build3-0ubuntu0.20.04.1
firefox:amd64 (109.0.1+build1-0ubuntu0.20.04.2,
110.0+build3-0ubuntu0.20.04.1)

The video, https://www.youtube.com/watch?v=YDjPFsBc5EE,
was posted 6 days ago and I watched it with firefox. So, on or about
02/19/2023, firefox would play youtube videos.

Tom Dean

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

The message "Automatic missing codec installation not supported (helper script missing)" can be found several times with a web search, and the suggested solution there usually is

sudo apt install gstreamer1.0-packagekit

Not sure whether it will help in your case.

Revision history for this message
tomdean (tomdean) said :
#16

On 2/25/23 10:00, Manfred Hampl wrote:
> Your question #705143 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/705143
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The message "Automatic missing codec installation not supported (helper
> script missing)" can be found several times with a web search, and the
> suggested solution there usually is
>
> sudo apt install gstreamer1.0-packagekit
>
> Not sure whether it will help in your case.
>

I have that.

The answer was found in one of the search results.

REBOOT!!!

Fixed the problem.

There is some miss-connect in the firefox upgrade chain. Something the
boot process fixes, like kernel?

Anyway, this is fixed.

However the process revealed another problem and an unanswered question.
dhclient is not started on boot or maybe it is pointed to wifi when I am
using a wired connection.

Tom Dean

Revision history for this message
Launchpad Janitor (janitor) said :
#17

This question was expired because it remained in the 'Open' state without activity for the last 15 days.