搜索 | 用户支持

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

详细了解

Youtube autoplay videos when switching tabs (I don't want that)

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

more options

Okay, so before, when I loaded up 100+ Youtube videos, they stayed when switching tabs - no autoplay. Suddenly they decide to autoplay when switching tabs - note, I've not done anything to my settings or plugins. Fair enough, maybe you changed something (which you often do, without informing). So I check the options. It was on "Block audio", which obviously didn't work, so I tried "Block Audio and Video" - which WORKS, but now both the video is paused (which I want) AND the audio is set to mute (which I DON'T want) - so... what does it take to have Youtube wait for a click to start playing a video loaded in a background tab, but KEEP AUDIO ACTIVE, so I don't also have to unmute the damn video?

Okay, so before, when I loaded up 100+ Youtube videos, they stayed when switching tabs - no autoplay. Suddenly they decide to autoplay when switching tabs - note, I've not done anything to my settings or plugins. Fair enough, maybe you changed something (which you often do, without informing). So I check the options. It was on "Block audio", which obviously didn't work, so I tried "Block Audio and Video" - which WORKS, but now both the video is paused (which I want) AND the audio is set to mute (which I DON'T want) - so... what does it take to have Youtube wait for a click to start playing a video loaded in a background tab, but KEEP AUDIO ACTIVE, so I don't also have to unmute the damn video?

被采纳的解决方案

Maybe check this pref on the about:config page.

  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

定位到答案原位置 👍 2

所有回复 (6)

more options

Hi Langbakk!

Non-free non-trivial javascript code (malware) running on peoples computers can of course cause problems. Easy to understand. Mozilla (open and free code) does its best to keep you happy and safe.

If you still want to run the non-free malware your own way, then try to go to the menu, click preferences or settings, click on the lock, scroll down to "program", try changing "flash-video"-setting into "always ask"!

Now you should always be asked before a flash video javascript code (malware) is allowed to run on your computer. I hope this helped you.

由Maitreya于修改

more options

Hi again Langbakk! Did this advice solve your problem?

more options

What are you on about? There are no Flash videos on YouTube... Why do you change stuff that works, into stuff that doesn't work? Why not just have a "don't autoplay videos" without doing anything to audio? If I want to mute audio, I can do so myself.

more options

选择的解决方案

Maybe check this pref on the about:config page.

  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Not in front of the computer for a few days, but I'll check that out. Thanks for the tip

more options

Hi again Langbakk! Did cor-el's advice solve your problem?

Otherwise check this page out and come back here and tell us if you solved the problem or not!

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