Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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