搜尋 Mozilla 技術支援網站

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

Learn More

Can't play twitter and reddit videos/gif in Firefox

  • 3 回覆
  • 0 有這個問題
  • 8 次檢視
  • 最近回覆由 zeroknight

more options

My OS is ubuntu20.046LTS, and the Firefox is 118.0.2. Just like the images i post, i can't play the videos at all, but i can play the youtube videos. The developer tools console in twitter video post shows 2 errors:

 The Content-Security-Policy: The page’s settings blocked the loading of a resource at data:i (“object-src”);
 The connection to https://api.twitter.com/live_pipeline/events?topic= was lost while loading the page.

I thought my problem may be related to these errors so i post them. Alough i can play the videos in chrome normally, but i used to the Firefox, please help me

My OS is ubuntu20.046LTS, and the Firefox is 118.0.2. Just like the images i post, i can't play the videos at all, but i can play the youtube videos. The developer tools console in twitter video post shows 2 errors: The Content-Security-Policy: The page’s settings blocked the loading of a resource at data:i (“object-src”); The connection to https://api.twitter.com/live_pipeline/events?topic= was lost while loading the page. I thought my problem may be related to these errors so i post them. Alough i can play the videos in chrome normally, but i used to the Firefox, please help me
附加的畫面擷圖

所有回覆 (3)

more options

Install ffmpeg:

sudo apt install ffmpeg


For flatpak (22.08 runtime):

flatpak install org.freedesktop.Platform.ffmpeg-full
more options

zeroknight said

Install ffmpeg: sudo apt install ffmpeg For flatpak (22.08 runtime): flatpak install org.freedesktop.Platform.ffmpeg-full

Hello, my ffmped version is 6.0, and Flatpak is 1.6.5, after i enter command "flatpak install org.freedesktop.Platform.ffmpeg-ful", i choose the "runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/22.08", but the problem is still existed. The errors reported by the console are still the same two.

由 qweyola 於 修改

more options

Does the snap package work? It comes with the necessary libavcodec library built-in.

sudo snap install firefox


You could also try this unofficial flatpak Nightly which also has it built-in:

https://gitlab.com/projects261/firefox-nightly-flatpak/