4

I have a couple of videos open on Firefox. As I refer to them often, I prefer to keep them as a tab rather than as a bookmark. However, every time I reboot Firefox, they start to play. Can I have them come up but not start to play until I select them to start? Thanks.

10 Answers 10

1
3
4

As of Firefox 69, you can now configure Firefox' settings to block all or specific websites from autoplaying videos.

To always allow or disallow autoplay for all videos or media with sound:

  1. Click the menu button menu button and choose Options.
  2. Select the Privacy & Security panel.
  3. Scroll down to the Permissions section.
  4. Go to Autoplay → Settings. Default for all websites: Block audio is the default setting. Set this to Block Audio and Video to block videos too. Or set this to Allow Audio and Video and you can configure blocking autoplay on a per-site setting, instead.

Youtube.com's site permissions will look like this if set to block video autoplay. You can also opt to set the autoplay permission to allow autoplaying videos for youtube.com only and not other sites.

Youtube.com Firefox site permissions


Firefox versions prior to 69 can use the YouTube High Definition extension (also a Chrome extension) to stop YouTube from auto playing videos, among other features:

YouTube High Definition screenshot - disable YouTube auto-play

2

Probably late (just by 6 years!), but if you don't want to install an extension, you can use the Firefox configuration editor and change the media.autoplay.enabled value to false

1
  • 1
    Firefox now has a setting: media.block-autoplay-until-in-foreground that does exactly what you need, without the extra hassle that disabling auto-play has.
    – Bar
    Commented May 8, 2017 at 10:39
2

Starting with firefox 63, the preference setting to disable autoplay has changed as answered in Firefox support:

in about:config you can set media.autoplay.default

  • to 1 in order to block automatic playback on all pages
  • to 2 to decide on a per domain basis.

NB: In future release, this feature will be accessible in Options (source)

1

FlashBlock can do this.

4
  • FlashBlock is not working for me, youtube keeps on playing. Indeed, Firefox is crashing soon after being launched. When I go to "add-ons" I do not see the installed Flashblock and seem to have no way to remove it. How can I remove it? Perhaps I am looking in the wrong place?
    – Xavierjazz
    Commented Sep 8, 2010 at 20:06
  • Firefox has a safe-mode which allows you to disable troublesome extensions. How to run it depends in your platform though..
    – Remy
    Commented Sep 9, 2010 at 0:13
  • @remyhorton - thanks, I guess, but really, this is no help. How about some direction? Regards,
    – Xavierjazz
    Commented Sep 9, 2010 at 0:33
  • 1
    support.mozilla.com/en-US/kb/Safe+Mode
    – Remy
    Commented Sep 9, 2010 at 11:14
1

Download Greasemonkey for Firefox.

Download the YouTube Enhancer userscript.

At the top of the window, there is an option where you can set automatic buffering to off or autoplay to off. Same consequence, but with auto buffer, you need to wait for it to buffer (no problem on fast internet anyway).

Also other goodies as well:

  • loop
  • kill stream
  • loop between two set points
  • change quality easily
1
  • This looks interesting -+1. I will try this as soon as I am sure I removed Flashblock. Thanks
    – Xavierjazz
    Commented Sep 8, 2010 at 23:20
1

Firefox now has a setting: media.block-autoplay-until-in-foreground that does exactly what you need. Set it to true through about:config.

This is better than changing the media.autoplay.enabled as it can have an adverse effect on you browsing experience (nothing autoplays)

0

If you install the NoScript plug-in for Firefox it will block YouTube videos from loading automatically. You can then simply allow the Javascript/JAVA/Flash object every time you wish to view it.

0

I have tried various about:config settings with no success (using Youtube as a benchmark), but after some seaching I found this article mentioning that the feature is coming, and that it is already present in the nightly build.

The autoplay blocking option works only in the Nightly test version of Firefox for now, but it's scheduled to arrive in the main version of the browser in October

Ironically, that very article started playing super loud and annoying ads in the bottom corner when I opened it.

Firefox Nightly can be downloaded and installed alongside regular Firefox from this page.

I installed Nightly and can confirm that this works both on the above mentioned Cnet article as well as on Youtube. Since Firefox Nightly as a bonus now also allows me to multi-select tabs by Shift-clicking and moving them around (a la Chrome), I'm sold.

Firefox asks you whether to block auto-playing videos

Please note that you need to completely exit Firefox before you'll be able to actually launch Nightly. At least for me, in Windows 10.

0

As of 2022/07/22 in Mozilla Firefox 103.0, none of these solutions were working for me. It seems like websites have found a way to defeat the "block autoplay" setting exposed in the GUI.

The about:config changes in this guide were the only solution that led to consistent blocking of autoplay across domains and various scenarios. The applied setting changes were:

media.autoplay.default = 5
media.autoplay.blocking_policy = 2
media.autoplay.allow-extension-background-pages = false
media.autoplay.block-event.enabled = true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .