搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改