搜尋 Mozilla 技術支援網站

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

了解更多

Firefox 28 ignores plugin.disable_full_page_plugin_for_types ?

  • 10 回覆
  • 29 有這個問題
  • 5 次檢視
  • 最近回覆由 madpanic

more options

As of Firefox 28 the plugin.disable_full_page_plugin_for_types setting seems to be ignored. I had set it in previous versions so I could get audio/mpeg files to display a download notification instead of playing in-browser but as of the latest update it seems to make no difference.

As of Firefox 28 the plugin.disable_full_page_plugin_for_types setting seems to be ignored. I had set it in previous versions so I could get audio/mpeg files to display a download notification instead of playing in-browser but as of the latest update it seems to make no difference.

被選擇的解決方法

Yes, seems to be a constant bug which ticks people off.

In the bug discussion someone mentioned that you should also set media.directshow.enabled to false and, sure enough, that seems to work. Not that this won't also be broken in a future build but for now it looks like the old functionality (which is actually functional for the user) is back.

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

所有回覆 (10)

more options

This pref should still be working for plugins.

If it doesn't work then Firefox may be using the HTML5 media player to handle this file type.
You can set the Boolean pref media.windows-media-foundation.enabled to false on the about:config page to disable the HTML5 media player.

more options

That's a setting that I had already configured as well. Sadly, Firefox seems to ignore that too.

And yes, I can confirm that it is the built-in HTML5 player that comes up and not any third-party plugin.

more options

What content is played by this player?

If this are audio files other than MP3 then you need to disable the related media.*.enabled pref by setting its value to false.

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

more options

I have the same problem and posted a very similar question

Both settings appear to be correct, but FF is opening a new tab to try to play an mp3. Seems to do it for an m3u playlist type file as well, but there it is calling the VLC plugin in a new window instead of its own player in a new tab.

In any event, any page with an mp3 will do, here is one. The mp3 link is labeled "mp3 (audio file) in the middle of the page in a purple box.

more options

The MP3 file in that link is send as audio/mpeg and that makes Firefox use the HTML5 media player.
For me Firefox opens the HTML5 media player in the same tab if I left-click.

more options

Sure, so how do you get FF to pop up the dialog to ask you if you want to Open With... or Save? I have the config settings set to turn off media-foundation and audio/mpeg is part of the "disable_full_page..." setting and audio/mpeg is set to "Always Ask" in the Applications tab under options.

When I set audio/mpeg to "Save" in the Options->Applications tab it still opens the full page plugin and tries to play the file.

Is there another setting I should be using? I just want the option of either saving or launching another app to play the file outside of Firefox.


Edit - Adding what I put in my other question for more background on what I see:

No settings change from 27 where all was fine. plugin.disable_full_page_plugin_for_types still contains "application/pdf,audio/x-mpeg,audio/mpeg", the media.windows-media-foundation.enabled is still set to "false", and the mime types are all set to "always ask". Is there a reason why these settings are being ignored in FF 28? Major pain in the neck to have to save something and then run it in VLC as opposed to just being asked from FF as I was until 15 minutes ago when I restarted FF and the upgrade happened.

I also just tried this with a pdf and it opened in the current tab. When I set FF to "ask" about pdfs instead of "preview in Firefox" I got the dialog asking what I wanted to do. Since the plugin.disable_full_page_plugin_for_types already included "application/pdf" I don't know if it should have previewed in FF as I don't know how the different settings interact, but to be honest I'm okay with that behaviour.

由 madpanic 於 修改

more options

I think it's worth mentioning that Firefox 28 also displays this behavior with all addons disabled as well. The default HTML5 audio player takes over.

more options

You can try rename (or delete) the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.

more options

Yeah, tried that already. As the second link says:

Note: The "media.windows-media-foundation.play-stand-alone" preference was added in Firefox 24; setting it to "false" should disable built-in playback of "standalone" media (downloaded files) while allowing playback of embedded HTML5 audio and video content for supported MP3/M4A/MP4 files. Note, however, that this preference may not be working (bug 861090).

https://bugzilla.mozilla.org/show_bug.cgi?id=861090

So it's a known long-running bug that keeps resurfacing.

由 taquinvol 於 修改

more options

選擇的解決方法

Yes, seems to be a constant bug which ticks people off.

In the bug discussion someone mentioned that you should also set media.directshow.enabled to false and, sure enough, that seems to work. Not that this won't also be broken in a future build but for now it looks like the old functionality (which is actually functional for the user) is back.