Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

autoplay cannot be blocked

  • 6 отговора
  • 5 имат този проблем
  • 1 изглед
  • Последен отговор от koooper

more options

I have the about:config autoplay set to "1" as you are supposed to, but when Firefox updated the other day autoplay has been enabled again. I have downloaded an add-on to try and block them, but I want to know why we can't block them ourselves, or why setting the about:config autoplay to "1" no longer works.

I have the about:config autoplay set to "1" as you are supposed to, but when Firefox updated the other day autoplay has been enabled again. I have downloaded an add-on to try and block them, but I want to know why we can't block them ourselves, or why setting the about:config autoplay to "1" no longer works.

Всички отговори (6)

more options

You can set Firefox 66 to block autoplay on sites using either of these methods (they are linked):

  • On the Options/Preferences page, Privacy & Security panel, check the box for "Block websites from automatically playing sound"
  • In about:config, set media.autoplay.default to 1

However, it doesn't work in every case: some sites start videos in a way that bypasses Firefox's definition of autoplay. However, the current emphasis is to avoid audio distractions, so Firefox still aims to silence videos that start playing automatically.

Add-ons may have a different method of monitoring videos starting so they might block videos on sites that Firefox misses.

Променено на от jscher2000 - Support Volunteer

more options

This Reddit post has suggested settings changes you could try, since you are already familiar with about:config. If you find a combination of settings that works well for your needs, please let us know.

https://www.reddit.com/r/firefox/comments/b35aed/is_mediaautoplaydefault_no_longer_supported_after/eixic0m/

more options

Ok, first lets address that there is NO BOX on the privacy/security panel labeled "Block websites from automatically playing sound" in this newest version of firefox. So I can't do that. This part: "In about:config, set media.autoplay.default to 1" was already done but did not affect it. In fact, that was the whole purpose of this question, which is "why doesn't that work anymore?" In the reddit thread, there was one setting that I had not used, but it seems to have mixed results. The icon with the crossbar through the "play" button has re-appeared in my address bar (on some sites) but does not seem to always work. The question therefore remains: "why have they removed our ability to block autoplay videos?"

more options

CDukes said

Ok, first lets address that there is NO BOX on the privacy/security panel labeled "Block websites from automatically playing sound" in this newest version of firefox. So I can't do that.

What does yours look like in the area pictured in my screenshot?

Did you disable this setting as suggested in the Reddit discussion:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste autop and pause while the list is filtered

(3) Double-click the media.autoplay.allow-muted preference to switch the value from true to false

Did that make any difference?

As for the more general question: this feature has been in tweaking and testing for several versions now and this is the final reality of how this feature works, until they change it. Please also refer to my previous comments.

more options

You can also look at this extension.

more options

To make the "stop autoplay" work again use these settings:

media.autoplay.default: 1 media.autoplay.enabled.user-gestures-needed: false media.autoplay.allow-muted: false

Although the "media.autoplay.enabled.user-gestures-needed" seems to be wrong it brings back the "stop autoplay" feature.