为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I stop YouTube videos automatically starting to play when opening them in new tabs

  • 1 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

Whenever I right-click a YouTube video on the home page and select 'open link in new tab' followed by launching the tab in focus, the YouTube video on the corresponding tab automatically starts playing. How do I get the YouTube video on new tabs to stop automatically playing as soon as I enter the tab?

Troubleshooting steps attempted:

Disabling all add-ons. Selected block audio and video 'for the autoplay setting under Privacy & Securty. Set media.autoplay.enabled.user-gestures-needed via about:config to true

The strange part is that if I open Firefox in a clean, new profile, navigate to the YouTube website, and then right-click a YouTube video to 'open link in new tab' and then open the tab itself, the video DOES NOT automatically start playing. How do I get that same functionality on my default, main profile?

EDIT - Solved! For anybody who wants to disable autoplay follow this tutorial - https://www.youtube.com/watch?v=Xn7_PiwhG4M

Whenever I right-click a YouTube video on the home page and select 'open link in new tab' followed by launching the tab in focus, the YouTube video on the corresponding tab automatically starts playing. How do I get the YouTube video on new tabs to stop automatically playing as soon as I enter the tab? Troubleshooting steps attempted: Disabling all add-ons. Selected''' block audio and video''' 'for the '''autoplay''' setting under '''Privacy & Securty. ''' Set ''media.autoplay.enabled.user-gestures-needed'' via about:config to'' true'' The strange part is that if I open Firefox in a clean, new profile, navigate to the YouTube website, and then right-click a YouTube video to 'open link in new tab' and then open the tab itself, the video DOES NOT automatically start playing. How do I get that same functionality on my default, main profile? EDIT - Solved! For anybody who wants to disable autoplay follow this tutorial - https://www.youtube.com/watch?v=Xn7_PiwhG4M

由TheThingKing于修改

所有回复 (1)

more options

Alternatively, you can set media.autoplay.blocking_policy = 2

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 (as preferred)

media.autoplay