為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Is HTML5 built in to Firefox?

  • 10 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 James

more options

I ran 2 different versions of Linux Firefox from a Linux CD and Firefox version were not able to play HTML5 from Youtube. Youtubes test shows HTML5 not available. The version of Firefox was 61.x

Why would it not play as I expect HTML5 in to Firefox? Linux support seems to think a update is required but that should only occur if Firefox itself is dependent on the operating system.

I ran 2 different versions of Linux Firefox from a Linux CD and Firefox version were not able to play HTML5 from Youtube. Youtubes test shows HTML5 not available. The version of Firefox was 61.x Why would it not play as I expect HTML5 in to Firefox? Linux support seems to think a update is required but that should only occur if Firefox itself is dependent on the operating system.

被選擇的解決方法

I have installed ffmpeg in Ubuntu using the command "sudo apt install ffmpeg" and after restarting Firefox it worked.

I always thought it was ffmpeg was installed by default on Linux.

Thanks

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

所有回覆 (10)

more options

You can see what your system currently supports at say https://www.youtube.com/html5/

All check marks should be blue, however if two or three checks are red then you may not have packages like FFmpeg installed for the codecs needed as it may not be installed during a Linux OS install.

The LiveCD Linux distro you have may not have the packages like FFmpeg as part of LiveCD. You may be able to install the FFmpeg in the package manager during use of LiveCD Linux distro?.

With the various flavors of Ubuntu you may find the FFmpeg in Ubuntu Restricted Extras for example. https://help.ubuntu.com/community/RestrictedFormats

A number of packages like FFmpeg may not be installed during the Linux OS install due to patent and copyright restrictions.

由 James 於 修改

more options

Firefox includes the HTML5 player and support for "Open" codecs like OGG/OGV and WebM, but it doesn't include patented codecs like H.264 in MPEG containers. As James mentioned, Firefox can use external libraries for those on most OSes.

more options

Thank you.

Is there a method I could use to determine what Firefox is using? For example I have a Mac OS that doesn't have a problem running youtube live video. Can I compare the component to enable this or try to find that component for installation.

more options

Again go to https://www.youtube.com/html5/ to see what your system is currently supporting. If 2 or 3 are red then you may be missing FFmpeg.

more options

The youtube site identifies H.264 and MSE & H.264 with a red exclamation.

Firefox is not able to play live videos from youtube as an example https://www.youtube.com/watch?v=JUCekz5k9E4

由 Mace2 於 修改

more options

Did you already make sure FFmpeg is installed and enabled on your distribution? On Linux, Firefox needs to find FFmpeg on the system to decode H.264/MP4 video. (I don't think Linux can run the MacOS media components.)

more options

選擇的解決方法

I have installed ffmpeg in Ubuntu using the command "sudo apt install ffmpeg" and after restarting Firefox it worked.

I always thought it was ffmpeg was installed by default on Linux.

Thanks

more options

mace2 said

I always thought it was ffmpeg was installed by default on Linux.

As I mentioned in earlier reply, a number of packages like FFmpeg may not be installed during the Linux OS install due to patent and copyright restrictions.

more options

Any workaround for windows? I don't have a linux machine at home. Many thanks.

more options

johnmars888888 said

Any workaround for windows? I don't have a linux machine at home. Many thanks.

If you have the N edition of Windows 7 then that may explain your issues as you have your own thread on this with a reply about this at /questions/1249719