X
點擊此處開啟此網站的行動版。
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

技術支援討論區

enable autoplay videos for new tab

已張貼

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!

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!

被選擇的解決方法

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

從原來的回覆中察看解決方案 1
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

更多資訊

Wesley Branton
  • Top 25 Contributor
509 個解決方法 4484 個答案

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.

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.
這篇文章有幫助嗎? 0
引用
cor-el
  • Top 10 Contributor
  • Moderator
17084 個解決方法 154305 個答案

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
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 <b>about:config</b> page: *media.autoplay.allow-muted *media.autoplay.enabled.user-gestures-needed
這篇文章有幫助嗎?
引用

提出問題者

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.

''Wesley Branton [[#answer-1223071|said]]'' <blockquote> 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. </blockquote> 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.
這篇文章有幫助嗎?
引用

提出問題者

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

''cor-el [[#answer-1223073|said]]'' <blockquote> 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 <b>about:config</b> page: *media.autoplay.allow-muted *media.autoplay.enabled.user-gestures-needed </blockquote> looked into all those and still no luck
這篇文章有幫助嗎?
引用
Wesley Branton
  • Top 25 Contributor
509 個解決方法 4484 個答案

選擇的解決方法

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

In that case, you are looking for the <code>media.block-autoplay-until-in-foreground</code> preference. You want to set that to <code>false</code>.
這篇文章有幫助嗎? 1
引用
cor-el
  • Top 10 Contributor
  • Moderator
17084 個解決方法 154305 個答案

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.

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.
這篇文章有幫助嗎?
引用

提出問題者

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.

''Wesley Branton [[#answer-1223079|said]]'' <blockquote> In that case, you are looking for the <code>media.block-autoplay-until-in-foreground</code> preference. You want to set that to <code>false</code>. </blockquote> awesome work! that did it, i appreciate the help very much, Wesley.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題