Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Is there any way, at all, to play <video> with H.264 source in Firefox?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 mattclough

more options

I am a developer working on a site that makes heavy use of video. The site navigation and video playback controls run together, so it's important for me to be able to have full control over the videos, however, the videos must be hosted on Vimeo. The information on Firefox support for H.264 is all over the map, though at this point, I am just assuming, for the sake of practicality, that Firefox doesn't support H.264 playback at all. If I can't find a good solution, we are simply going to draw the line at Firefox and not support the browser at all for this site. It would be nice for the site to work on Firefox, but we estimate that less than 6% of our viewers will be using the browser, so it won't be hard to just redirect them to a different browser. Is there any hack, any workaround, anything at all, that I can do to play H.264 video using just the good old standard

I am a developer working on a site that makes heavy use of video. The site navigation and video playback controls run together, so it's important for me to be able to have full control over the videos, however, the videos must be hosted on Vimeo. The information on Firefox support for H.264 is all over the map, though at this point, I am just assuming, for the sake of practicality, that Firefox doesn't support H.264 playback at all. If I can't find a good solution, we are simply going to draw the line at Firefox and not support the browser at all for this site. It would be nice for the site to work on Firefox, but we estimate that less than 6% of our viewers will be using the browser, so it won't be hard to just redirect them to a different browser. Is there any hack, any workaround, anything at all, that I can do to play H.264 video using just the good old standard <video> tag?

被采纳的解决方案

hello mattclough, due to patent and licensing issues support for h.264 is not directly built into the browser, instead firefox relies of the capabilities of the operating system or hardware to playback such media content. this will work in windows vista/7/8, linux, android and firefox os devices - for details please refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

hello mattclough, due to patent and licensing issues support for h.264 is not directly built into the browser, instead firefox relies of the capabilities of the operating system or hardware to playback such media content. this will work in windows vista/7/8, linux, android and firefox os devices - for details please refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

more options

Great. Thanks.