Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Block autoplay being ignored on Firefox 78

  • 6 trả lời
  • 3 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi br5491

more options

Prior to the latest version, I had set "media.autoplay.enabled.user-gestures-needed" in about:config to False in addition to blocking both audio and video within the settings so that nothing would autoplay without my input.

I updated to version 78 yesterday, and it seems that "media.autoplay.enabled.user-gestures-needed" is now gone from within about:config. I'm getting videos autoplaying within sites like YouTube, despite me setting both audio and video to not autoplay.

Is there anything I can do to ensure that nothing starts playing without me allowing it?

Prior to the latest version, I had set "media.autoplay.enabled.user-gestures-needed" in about:config to False in addition to blocking both audio and video within the settings so that nothing would autoplay without my input. I updated to version 78 yesterday, and it seems that "media.autoplay.enabled.user-gestures-needed" is now gone from within about:config. I'm getting videos autoplaying within sites like YouTube, despite me setting both audio and video to not autoplay. Is there anything I can do to ensure that nothing starts playing without me allowing it?

Giải pháp được chọn

It appears that media.autoplay.enabled.user-gestures-needed has been replaced by media.autoplay.blocking_policy.
You can try to set media.autoplay.blocking_policy = 2 to see if that has effect.

See also:


  • Bug 1509933 - Use transient user activation as the default way to detect if the action is an user-input for `click-to-play` [78]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (6)

more options

Hello,

The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.

Note: When you use this feature, you will lose any extensions, toolbar customizations, and some preferences. See the Refresh Firefox - reset add-ons and settings article for more information.

To Refresh Firefox:

  1. Open the Troubleshooting Information page using one of these methods:
    • Click the menu button New Fx Menu, click help Help-29 and select Troubleshooting Information. A new tab containing your troubleshooting information should open.
    • If you're unable to access the Help menu, type about:support in your address bar to bring up the Troubleshooting Information page.
  2. At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
  3. Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
  4. Click Finish and Firefox will reopen.

Did this fix the problem? Please report back to us!

Thank you.

Được chỉnh sửa bởi user2718304 vào

more options

Blocking autoplay within the settings never affected YouTube for some reason, so the behavior I'm getting is "as intended", and refreshing the browser won't resolve it. I did refresh the browser and this was confirmed.

Prior to the latest version, I could get YouTube to stop autoplaying videos by setting media.autoplay.enabled.user-gestures-needed" to False in about:config, but it seems that this was removed in version 78 for some reason.

Is there any other workaround to not let YouTube autoplay? Also, why doesn't the block autoplay setting work across the board?

more options

Giải pháp được chọn

It appears that media.autoplay.enabled.user-gestures-needed has been replaced by media.autoplay.blocking_policy.
You can try to set media.autoplay.blocking_policy = 2 to see if that has effect.

See also:


  • Bug 1509933 - Use transient user activation as the default way to detect if the action is an user-input for `click-to-play` [78]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Được chỉnh sửa bởi cor-el vào

more options

Yep, that did it. Thank you!

more options

I have this problem. Videos are playing in Yahoo. I am able to disable the sound. I have performed all actions listed in this thread. I have restarted my PC.

Same issue.

more options

I still have issues with autoplay in FF 82.0.2. Autoplay blocking works most of the time on a site's home page, but always fails if I click on a link. Then media starts playing immediately. Foxnews.com breaks Firefox media blocking the most. Is there a fix for this?