We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Firefox cannot play mp4 files on windows 7

  • 11 个回答
  • 36 人有此问题
  • 3 次查看
  • 最后回复者为 nancyjahn

more options

I'm using firefox 30 on Windows 7. I was under the impression Firefox supported mp4 playback in this configuration as described at https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats but I can't get it to work anywhere.

webm and ogg theora work fine but mp4 playback doesn't. Some sites I've tested: http://www.quirksmode.org/html5/tests/video.html - top video does not load www.quirksmode.org/html5/tests/video.html - left side videos do not load https://vine.co/ - video playback fails completley youtube with html5 player- video playback fails completely

Does anyone have any solutions?

I'm using firefox 30 on Windows 7. I was under the impression Firefox supported mp4 playback in this configuration as described at https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats but I can't get it to work anywhere. webm and ogg theora work fine but mp4 playback doesn't. Some sites I've tested: http://www.quirksmode.org/html5/tests/video.html - top video does not load www.quirksmode.org/html5/tests/video.html - left side videos do not load https://vine.co/ - video playback fails completley youtube with html5 player- video playback fails completely Does anyone have any solutions?

所有回复 (11)

more options

Do you have a Windows version that comes with Windows Media Foundation and this enabled?

You can also check these prefs on the about:config page.

  • media.windows-media-foundation.enabled
  • media.directshow.enabled
more options

thanks for your response

I am using Windows 7 Ultimate which has windows media foundation to my knowledge.

both media.windows-media-foundation.enabled and media.directshow.enabled are set yo true

more options

You can open the Web Console (Firefox/Tools > Web Developer) and check for issues with loaded media files.

more options

To rule out extensions as a possible culprit, could you try the test pages in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions, some advanced features, and some custom settings. More info: Diagnose Firefox issues using Troubleshoot Mode.

You can restart Firefox in Safe Mode using either

  • "3-bar" menu button > "?" button > Restart with Add-ons Disabled
  • (menu bar) Help menu > Restart with Add-ons Disabled

Note: Flash and other plugins still run

After Firefox closes, a small dialog should appear: click "Start in Safe Mode" (not Reset)

Any difference?

more options

With the last Firefox upgrade, some plugins are no longer enabled until you enable it.

Open the Add-ons Manager. Press the <Alt> or <F10> key to bring up the tool bar. Followed by;

Tools' Add-ons.

Hot key; <Control> (Mac: <Command>) <Shift> A)

On the left side of the page, select Plugins.

BTW; At the top right is a link to check your plugins.

由James于修改

more options

In the console I see this for each video: Media resource <file path> could not be decoded.

Starting in safe mode gives the same result. I've tried enabling/disabling all browser plugins and also disabling plugin scanning but I get the same error regardless.

more options

Are you using any kind of blocking software in Firefox or your computer?

more options

No blocking software, all addons/plugins disabled and still the same problem.

more options

It is likely that you do not have the codec to play such a file via the HTML5 media player.

Does Firefox use another player if you disable the HTML5 media player?

As a test you can disable the HTML5 media player by toggling these prefs to false on the about:config page.

  • media.directshow.enabled
  • media.windows-media-foundation.enabled
more options

Firefox uses flash when those settings are disabled.

Is there a way to install the codec? I thought Firefox could play mp4 on Windows 7.

由homunyan于修改

more options

Maybe your mp4 file has some problem. You can try another mp4 file to have a test. Change your mp4 file to webm also is fine to have a try. http://www.firecoresoft.com/convert-mp4/convert-mp4-to-webm.html