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

Youtube block autoplay not working

  • 7 ŋuɖoɖowo
  • 0 masɔmasɔ sia le wosi
  • 786 views
  • Nuɖoɖo mlɔetɔ HabibiFreshUFC

more options

Hello,

Recently Firefox tends to start autoplaying a YouTube video if I am on the tab.

Before it would not play the video if i am on the tab unless I physically press play.

It still works if I open a YouTube video in a tab that is not active, it will not autoplay, but as soon as I hover over and click on that tab it will start playing, however I do not want this to happen, I want it to pretty much always be autoplay blocked regardless if tab is active or not and I want to physically press play in order for it to start.

How to revert it to that state?

My block audio and video setting in firefox is already turned on, not sure what to do, pretty sure I did nothing on my end.

Right now I have to use extension called "disable autoplay" just to get by.

Thanks guys!

Hello, Recently Firefox tends to start autoplaying a YouTube video if I am on the tab. Before it would not play the video if i am on the tab unless I physically press play. It still works if I open a YouTube video in a tab that is not active, it will not autoplay, but as soon as I hover over and click on that tab it will start playing, however I do not want this to happen, I want it to pretty much always be autoplay blocked regardless if tab is active or not and I want to physically press play in order for it to start. How to revert it to that state? My block audio and video setting in firefox is already turned on, not sure what to do, pretty sure I did nothing on my end. Right now I have to use extension called "disable autoplay" just to get by. Thanks guys!

Ŋuɖoɖo si wotia

You can look at these prefs on the about:config page to see what settings work for you to block autoplay.

  • media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true
  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


Xle ŋuɖoɖo sia le goya me 👍 3

All Replies (7)

more options

Did you check you settings in youtube in playback & performance? Not sure if this will help but worth a shot. This latest update has been a nightmare all around I see. I lost my ability to print and no matter what I do, it doesn't solve it.

more options

janpre2001 said

Did you check you settings in youtube in playback & performance? Not sure if this will help but worth a shot. This latest update has been a nightmare all around I see. I lost my ability to print and no matter what I do, it doesn't solve it.

In chrome it works perfect, was there a firefox update that broke this? Or was it a youtube update?

HabibiFreshUFC trɔe

more options

Ɖɔɖɔɖo si wotia

You can look at these prefs on the about:config page to see what settings work for you to block autoplay.

  • media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true
  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


more options

Beast!

This one fixed it "media.autoplay.blocking_policy = 2 "

more options

Do you know how to make it so YouTube remembers where I left off it seems to have stopped saving where I left a video off...

more options

HabibiFreshUFC said

if I open a YouTube video in a tab that is not active, it will not autoplay, but as soon as I hover over and click on that tab it will start playing

New youtube tabs should not autoplay like you describe if you are blocking audio & video with no other changes.

HabibiFreshUFC said

make it so YouTube remembers where I left off

You need to be logged in to a youtube account with history enabled and it only works for longer videos that you have watched for a while.

Test in Troubleshoot Mode to rule out interference from extensions.

more options