搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Graphical glitches in YouTube HTML5 player

  • 15 回覆
  • 1 有這個問題
  • 2069 次檢視
  • 最近回覆由 aroskuski

more options

When I've been playing YouTube videos lately, I've noticed that a bunch of black boxes have been appearing over the player interface (The controls below the video) while the video is playing. Unfortunately, I can't provide a good screenshot, as the boxes come and go too quickly for me to get them. This issue still occurs if I restart Firefox in safe mode. I think it started happening with Firefox 37.

被選擇的解決方法

This problem doesn't seem to occur anymore with the new YouTube player.

從原來的回覆中察看解決方案 👍 0

所有回覆 (15)

more options

Hello,

Try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).

If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:

  • Click the menu button New Fx Menu , click Help Help-29 and select Restart with Add-ons Disabled.

If Firefox is not running, you can start Firefox in Safe Mode as follows:

  • On Windows: Hold the Shift key when you open the Firefox desktop or Start menu shortcut.
  • On Mac: Hold the option key while starting Firefox.
  • On Linux: Quit Firefox, go to your Terminal and run firefox -safe-mode
    (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)

When the Firefox Safe Mode window appears, select "Start in Safe Mode".

SafeMode-Fx35

If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article to find the cause.

To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.

When you figure out what's causing your issues, please let us know. It might help others with the same problem.

more options

guigs2 said

Hello, Try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes). If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
  • Click the menu button New Fx Menu , click Help Help-29 and select Restart with Add-ons Disabled.
If Firefox is not running, you can start Firefox in Safe Mode as follows:
  • On Windows: Hold the Shift key when you open the Firefox desktop or Start menu shortcut.
  • On Mac: Hold the option key while starting Firefox.
  • On Linux: Quit Firefox, go to your Terminal and run firefox -safe-mode
    (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
When the Firefox Safe Mode window appears, select "Start in Safe Mode".
SafeMode-Fx35
If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article to find the cause. To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again. When you figure out what's causing your issues, please let us know. It might help others with the same problem.

As stated above, the issue persists in safe mode.

more options

Sorry I should have been more careful. So this means that it is not due to hardware acceleration or and add on, but it might still be caused by an extension.

I did find some other solutions in the ubuntu forums, however I am not entirely sure which version you have.

more options

I think I've seen such moving black glitches as well on YouTube in Firefox 37 on Linux. They are most discernible on the red progression bar. I can't reproduce it, so I don't know what causes it. It is possible that sometimes the player content extends beyond the playing area into the controls area when there are switches between various sizes (i.e a video is available at higher resolution).

more options

cor-el said

I think I've seen such moving black glitches as well on YouTube in Firefox 37 on Linux. They are most discernible on the red progression bar. I can't reproduce it, so I don't know what causes it. It is possible that sometimes the player content extends beyond the playing area into the controls area when there are switches between various sizes (i.e a video is available at higher resolution).

Yes, this is exactly what I'm seeing. This happens most of the time when I watch YouTube videos.

more options

guigs2 said

Sorry I should have been more careful. So this means that it is not due to hardware acceleration or and add on, but it might still be caused by an extension. I did find some other solutions in the ubuntu forums, however I am not entirely sure which version you have.

The problem I have is not video tearing. It is the same thing that cor-el describes.

I am using the latest GPU drivers provided by the Ubuntu repositories. However, according to the troubleshooting information in Firefox, hardware acceleration actually isn't being used, despite being enabled.

more options

I managed to capture a video of the issue happening. I also attached a few representative screenshots from that video in case you can't watch the video.

https://docs.google.com/uc?id=0BzKVhsbqDk0MNGNJd18zcU9fYVk&export=download

more options

Are there any more troubleshooting steps I can try? None of the provided ones have helped.

more options

I am still having this issue, can anyone help?

more options

Its possible to disable hardware acceleration in Flash or in Firefox however these may have been tried already and are only temporary solutions.

more options

guigs2 said

Its possible to disable hardware acceleration in Flash or in Firefox however these may have been tried already and are only temporary solutions.

I've already tried both of those. Neither helps.

more options

Any advice for this? It still happens on Firefox 39.

more options

On Linux hardware acceleration is usually not available, both for Firefox and for Flash.

I assume that the HTML5 media player is used in cases where this is happening?

You can try to disable GStreamer support to see if that makes websites switch to a Flash based player that might work better. about:config: media.gstreamer.enabled = false

more options

cor-el said

On Linux hardware acceleration is usually not available, both for Firefox and for Flash. I assume that the HTML5 media player is used in cases where this is happening? You can try to disable GStreamer support to see if that makes websites switch to a Flash based player that might work better. about:config: media.gstreamer.enabled = false

While I haven't observed the issue with the Flash based player, using that for any extended length of time is highly undesirable. The Flash based YouTube player doesn't support all of the features, Flash will sometimes randomly crash on my computer, since I'm running the Windows version of Flash via Pipelight.

Should I try force-enabling hardware acceleration to see if that fixes the issues with the HTML5 player?

more options

選擇的解決方法

This problem doesn't seem to occur anymore with the new YouTube player.