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

搜尋 Mozilla 技術支援網站

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

了解更多

MP4s unable to play (Windows Home Edition)

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cosey

more options

The whole system was only set up recently, so I'm not sure if the issue has been happening since Firefox was installed, but it is possible.

I've narrowed it down to MP4s being the issue, which as the relevant help articles state should be decoded by the OS. No problems watching the videos in Microsoft Edge for example.

Console gives:

   HTTP "Content-Type" of "video/mp4" is not supported [...]
   Cannot play media. No decoders for requested formats: video/mp4

or

   Specified "type" attribute of "video/mp4" is not supported

etc.

Same result when disabling all addons. Windows Media Player etc. installed and working.

Only the first (MPEG) video on the following test page doesn't work for example: https://tekeye.uk/html/html5-video-test-page

Any help would be greatly appreciated!

The whole system was only set up recently, so I'm not sure if the issue has been happening since Firefox was installed, but it is possible. I've narrowed it down to MP4s being the issue, which as the relevant help articles state should be decoded by the OS. No problems watching the videos in Microsoft Edge for example. Console gives: HTTP "Content-Type" of "video/mp4" is not supported [...] Cannot play media. No decoders for requested formats: video/mp4 or Specified "type" attribute of "video/mp4" is not supported etc. Same result when disabling all addons. Windows Media Player etc. installed and working. Only the first (MPEG) video on the following test page doesn't work for example: https://tekeye.uk/html/html5-video-test-page Any help would be greatly appreciated!

被選擇的解決方法

Ok I have no idea how this happened, but looking in about:config I discovered that

   media.mp4.enabled

was somehow set to false!

Reverting that to its default true has fixed the issue.

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

所有回覆 (3)

more options

hello

cosey

follow the steps and instructions:

you may be needing this in case you do not have support for MP4 files:

Windows Media Feature Pack for Windows 7 N and for Windows 7 KN:

Also make sure that these prefs have the default value:

   media.windows-media-foundation.enabled
   media.directshow.enabled 

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

   http://kb.mozillazine.org/about:config 

tell me its help

thank you and regards,

Arman

more options

Thanks for the reply Arman.

I'm using Windows 10 Home Edition not Windows 7 N; I already have Windows Media Player installed. I can play MP4s in other areas of the OS (e.g. in Media Player itself, in the Edge browser etc).

Neither of those listed preferences were present. I'm assuming they're booleans and tried adding them but no combination of true/false for them seems to have made a difference.

more options

選擇的解決方法

Ok I have no idea how this happened, but looking in about:config I discovered that

   media.mp4.enabled

was somehow set to false!

Reverting that to its default true has fixed the issue.