This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Stop autoplay of videos, not just the audio portion

more options

I was pleased when a recent release of Firefox promised to block autoplay by default, but it turns out that it merely blocks the sound of videos. When I go to the websites of, say, the NY TImes or Washington Post, annoying videos are running, using up bandwidth. I can't find any setting within Firefox -- or any add-on -- that succeeds in turning these off. A silent video is better than a noisy one, but why can't we block ALL autoplay?

I was pleased when a recent release of Firefox promised to block autoplay by default, but it turns out that it merely blocks the sound of videos. When I go to the websites of, say, the NY TImes or Washington Post, annoying videos are running, using up bandwidth. I can't find any setting within Firefox -- or any add-on -- that succeeds in turning these off. A silent video is better than a noisy one, but why can't we block ALL autoplay?

All Replies (9)

more options

Type about:config<enter> in the address bar. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar. Type media.autoplay.enabled and set it to false.

more options

Thanks for the reply. I tried that some time ago; it's been set to false but the videos play on.

more options

media.autoplay.enable is no longer support and is replaced by media.autoplay.default

  • media.autoplay.default = 1 [0:Allowed; 1:Blocked 2:Prompt]
  • media.autoplay.allow-muted = false
  • media.autoplay.enabled.user-gestures-needed = false

For user-gestures-needed you can try false and true to see what works for you.

See also:

  • media.block-autoplay-until-in-foreground
more options

This is nuts and I cannot believe that Mozilla cannot give us a straight anser that actually works. Setting media.autoplay.default = 1 does not work.

It is almost as though contrary to the stated aims of Mozilla, and Firefox, they are actually working with advertisers to force me to watch or listen to their ads.

This is a simple question. When I go to a web page I do not want ANY video to start up, nor any sound to play, unless I specifically click on the arrow or otherwise give some affirmative response requesting the video or sound to start. I view any other action as an intrusion into my privacy.

What does it take to get an honest answer?

more options

In Menu -> Options -> Privacy & Security -> Permissions -> Autoplay I have Autoplay set to Block Audio & Video Be sure to select Save Changes or the Value will not change in your config entries. When I visit NY Times or Wash Post, no videos play.


(The relevant config entries are: media.autoplay.default 0 = allow audio & video 1 = block audio 5 = block audio & video)

((Other config entries mentioned here are default))

more options

I've long had Autoplay permission set to Block. This has no effect for me - and, evidently, for others.

more options

Are you using any content blocking extensions that might interfere with the builtin Firefox auto-play feature ?

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

Switched to Safe Mode. No difference, videos still play without me doing anything.

Two things occur to me. Is there some code in the site HTML that tells the video to start? Is there some code in Firefox that has it set as a default to start all video? And on that last, for which I try to enter a 1 or 5 code in the appropriate field to no avail, how does that fail?

Let's take Fox News. Their web page opens with pictures, titles and links. When you click a link it opens a page with a picture at the top, an arrow in the center, and an arrow at left lower corner. If you wait, or scroll down to just read the content, after a few seconds you will hear sound and if you scroll back up you will see either that video, or an ad running.

more options

Try a "Test Profile" This is the easiest way to eliminate extensions and tell if you need to do a Refresh.

Type (or paste) about:profiles in the address bar and press Enter. You will see at least one Profile which says: Profile: Default User - This is the profile in use and it cannot be deleted. That is the Profile with all of your data. Just above that, click Create a New Profile. A Profile Wizard will open. Go through the steps naming the Profile anything that you want, except Default User, of course. Below the new profile click Launch Profile In New Browser.

In the first window, under Profile: Default User, select Set As Default Profile. When you launch Firefox again, it will open your Default Profile. Close that window.

(The New Profile won't interfere with anything or use any resources. You can leave it if you ever want to Test something again, or, you can Remove it later.)

Only change Menu -> Options -> Privacy & Security -> Permissions -> Autoplay to Block Audio & Video select Save Changes Close your Options tab Navigate to a website and check that Audio & Video is being blocked.