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

搜索 | 用户支持

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

详细了解

Stop New Tab Autoplay

  • 8 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 lonestarnot

more options

How to force Firefox stop autoplaying videos when I'm switching to the i.e. new YouTube tab, but in the same time do not pause a next video on YouTube playlist. Some time ago it worked well, but now if I set Block Audio or\and Video in settings, I have to manually click Play, and with Allow Audio and Video chosen it starts playing video immediately after I click on another tab.

How to force Firefox stop autoplaying videos when I'm switching to the i.e. new YouTube tab, but in the same time do not pause a next video on YouTube playlist. Some time ago it worked well, but now if I set Block Audio or\and Video in settings, I have to manually click Play, and with Allow Audio and Video chosen it starts playing video immediately after I click on another tab.

所有回复 (8)

more options

They play as long as you have them open you must pause or stop them. I know I done this before and tabs with each open will play simultaneously unless the user pauses or one ends. Also you need to provide screenshot of that setting so others can verify it with their settings to be sure something else is over-riding it.

more options

Which settings from config do you want to see?

more options

r.bayda said

Some time ago it worked well, but now if I set Block Audio or\and Video in settings, I have to manually click Play, and with Allow Audio and Video chosen it starts playing video immediately after I click on another tab.

You just mentioned it here that is why I asked what settings did you do and to give a screenshot of that change.

more options

That's the point, I did nothing and it've changed by itself. It worked smoothly and as I wanted: autoplay's working and at the same time if I CTRL+Click on the new video to open it in the new tab and then switch to that tab, the video is paused.

Then (I believe after some Firefox update, current version is 106.0.2 x64), autoplay was still working but the new tab started playing the moment I switch to it. I've changed the media.autoplay.default config property to 5 (Settings -> Privacy -> Permissions -> Autoplay -> Block Audio and Video does the same) and both YouTube and new tab autoplay stopped working.

What do I want to achieve: 1. Allow autoplay on YouTube when the first video ends and the next starts. 2. Do not unpause video when I switch to the new tab.

As I've remarked, it worked perfectly some time ago with default settings and now it's not. What should I do to solve my issue?

In addition, I've tried to mix different settings with properties provided in answer here, but the one that have helped at least in some way was media.autoplay.default config, but it didn't solved my issue.

由SomeOne于修改

more options

Hi

Does this support article help?:

https://support.mozilla.org/en-US/kb/block-autoplay

more options

Paul said

Hi Does this support article help?: https://support.mozilla.org/en-US/kb/block-autoplay

No. 1. Allow audio and video makes YouTube autoplay work properly, but new tab starts playing immediately. 2. Block audio and\or video — both have the same behaviour and block YouTube and new tab autoplay.

Again, how I want it to work (as it was before): 1. YouTube video ends -> next video starts and is not paused. 2. CTRL+Click on a video to open it in a new tab -> tab opens and video is paused -> switch the tabs and the video is still paused until I click Play.

more options

Bump. Anyone, any idea?

more options

Thanks Paul. I think my issue was similar to what SomeOne cited. I often open several URLs/tabs from a query hit-list before going thru each tab to see which video looks most promising. Stopping autoplay annoyingly slowed the visual triage of splash pages I do before committing to selected serial video streams.

After setting "Block Audio and Video" as shown in https://support.mozilla.org/en-US/kb/block-autoplay I can now click through tabs, prioritizing & closing, before diving into the most promising.

由lonestarnot于修改