I AM your target demographic. Listen up.

How to prevent Firefox from playing directly linked MP4 files in the browser

·

Oh hey classic MP4 functionality, nice seeing you again
Oh hey classic MP4 functionality, nice seeing you again

Every now and then a beloved piece of software acquires a new feature that sounds good on paper, but really breaks your workflow. This is the case with Firefox’s relatively new found ability to play directly linked MP4 files in the browser without a plugin. Nothing wrong with that, I just prefer to download such files – usually HD movie trailers – using DownThemAll and watch them later using VLC.

So here’s how you revert to the old handling of MP4 files:

  1. Enter about:config in the address bar
  2. Hit Enter
  3. Click I’ll be careful, promise!
  4. In the Search field, enter media.windows-media-foundation.enabled
  5. Double-click the True in the media.windows-media-foundation.enabled result to change it to False
  6. Close the browser tab

That should do it.

¶¶¶¶¶

¶¶¶¶¶

¶¶¶¶¶

14 responses to “How to prevent Firefox from playing directly linked MP4 files in the browser”

  1. Thanks

    Like

  2. Thanks! It worked on the first computer (win7), the second computer (win7) needed the VLC-web plugin to also be disabled, computer 3 (vista) it worked (I installed VLC without the plugins) and on computer 4 (XP) it worked (no VLC)..

    Like

  3. Thanks! Worked perfectly after I went into Applications under options and changed MP4 from Quicktime to Save File.

    Like

  4. media.play-stand-alone Avatar
    media.play-stand-alone

    This does not work. I’ve also seen posts stating that this will break HTML5 video playback.

    INSTEAD switching media.play-stand-alone to false worked for me.

    Like

    1. Can you link to any of those posts?

      Like

    2. +1 for media.play-stand-alone

      Works in Firefox 44.0 (on Ubuntu 14.04). And doesn’t break HTML5 video.

      Like

  5. good but also windows media foundation is now wmf on the new firfox

    Like

  6. alternatively

    Firefox -> about:config
    media.mp4.enabled;false

    Like

    1. Interesting … didn’t know that.

      Like

    2. this breaks YouTube HTML playback

      Like

  7. thank you. most retarded feature ever.

    Like

  8. […] came across this result on Google which says to go into about:config and change media.windows-media-foundation.enable to […]

    Like

Comment