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

enable autoplay videos for new tab

  • 7 replies
  • 1 has this problem
  • 1397 views
  • Last reply by DeviantWolf

more options

I tried to enable the browser to play videos in new tabs by itself but it refuses to. I read to change the value of the media.autoplay.enabled but i did a search for it in the about:config window, but it doesn't show that it exists... any help would be grateful!

Chosen solution

In that case, you are looking for the media.block-autoplay-until-in-foreground preference. You want to set that to false.

Read this answer in context 👍 1

All Replies (7)

more options

Those are the old steps. Firefox just recently had that setting added to the Firefox Settings page. It's the Block websites from automatically playing sound option.

You can also allow/block autoplay on a site-by-site basis using the website permissions menu.

More information about the feature can be found in Allow or block media autoplay in Firefox.

Hope this helps.

more options

The media.autoplay.enabled pref is replaced by an Integer pref named media.autoplay.default.

  • media.autoplay.default = 1 [0:Allowed; 1:Blocked 2:Prompt]

Two other prefs available on the about:config page:

  • media.autoplay.allow-muted
  • media.autoplay.enabled.user-gestures-needed
more options

Wesley Branton said

Those are the old steps. Firefox just recently had that setting added to the Firefox Settings page. It's the Block websites from automatically playing sound option. You can also allow/block autoplay on a site-by-site basis using the website permissions menu. More information about the feature can be found in Allow or block media autoplay in Firefox. Hope this helps.

I tried that and unfortunately that didn't work. What it used to do, i would middle click on a video so it would open in a new tab, and then it would autoplay, but now i do the same thing, and it won't play until i click on the new tab.

more options

cor-el said

The media.autoplay.enabled pref is replaced by an Integer pref named media.autoplay.default.
  • media.autoplay.default = 1 [0:Allowed; 1:Blocked 2:Prompt]
Two other prefs available on the about:config page:
  • media.autoplay.allow-muted
  • media.autoplay.enabled.user-gestures-needed

looked into all those and still no luck

more options

Chosen Solution

In that case, you are looking for the media.block-autoplay-until-in-foreground preference. You want to set that to false.

more options

You have to disable block auto-play and make sure media.autoplay.default = 0 Also make sure media.autoplay.allow-muted = true and media.autoplay.enabled.user-gestures-needed = false That would work if the website allows auto play. If the website doesn't use auto-play then these setting do not have effect as this is only about websites that play automatically and you do not want this.

more options

Wesley Branton said

In that case, you are looking for the media.block-autoplay-until-in-foreground preference. You want to set that to false.

awesome work! that did it, i appreciate the help very much, Wesley.