Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

YouTube autoplay when window is in forgeground

more options

I've been searching for an answer to this for weeks to no avail. It concerns YouTube videos "autoplay"ing on YouTube. Many have asked this question and most responses state to shut off Autoplay. These are two separate issues. AotuPlay means the next video on YouTube will advnace automatically requiring no user input. If Autoplay is off, streaming stops at the end of the video. The issue I am having is when I open a YouTube video to a new tab (but do not switch to that tab), the video WILL start playing as soon as that tab is in focus. This never used to happen and indeed, on two other computers with the settings and extensions all sync'ed, this doesn't happen, except for on this one computer. Today I found someone that posted the exact same problem 5 years ago and didn't get an answer. He seems to describe it well:

  1. 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?

One person posted a possible solution: Maybe check this pref on the about:config page.

   media.block-autoplay-until-in-foreground 

This setting describes the issue kind of. If you have this set to false, the moment you send a link to a new tab, YouTube starts playing in the background. Setting it to false keeps the video paused until that tab is in focus. That is how mine has always been set. What I am looking for is a setting that would say something like: "block autoplay until play is pressed"

Thanks in advance and sorry for being so long-winded

I've been searching for an answer to this for weeks to no avail. It concerns YouTube videos "autoplay"ing on YouTube. Many have asked this question and most responses state to shut off Autoplay. These are two separate issues. AotuPlay means the next video on YouTube will advnace automatically requiring no user input. If Autoplay is off, streaming stops at the end of the video. The issue I am having is when I open a YouTube video to a new tab (but do not switch to that tab), the video WILL start playing as soon as that tab is in focus. This never used to happen and indeed, on two other computers with the settings and extensions all sync'ed, this doesn't happen, except for on this one computer. Today I found someone that posted the exact same problem 5 years ago and didn't get an answer. He seems to describe it well: # ''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?'' One person posted a possible solution: ''Maybe check this pref on the about:config page. media.block-autoplay-until-in-foreground '' This setting describes the issue kind of. If you have this set to false, the moment you send a link to a new tab, YouTube starts playing in the background. Setting it to false keeps the video paused until that tab is in focus. That is how mine has always been set. What I am looking for is a setting that would say something like: "block autoplay until play is pressed" Thanks in advance and sorry for being so long-winded

Tüm Yanıtlar (1)

more options

Hi Randy, Firefox's autoplay block is limited to what happens when the page first loads. YouTube seems to do a lot of page content replacement to bypass a full page load. Probably that gives better performance, but it also limits what the autoplay block can do. Sending a link to a new tab should give the autoplay block a fighting chance, so let's check the permission.

While on YouTube, press Ctrl+i to call up the Page Info dialog. (If the site blocks this, press Alt+T to drop the Tools menu, then click Page Info.)

Change to the Permissions tab, and scroll down to Autoplay. Here you can customize between Allow Audio & Video, Block Audio (video can autoplay silently), or Block Audio & Video. If you uncheck "Use default" and select Block Audio & Video, does that work any better?

İşe yaradı mı?

Soru sorun

Mesajlara yanıt verebilmek için hesabınıza giriş yapmalısınız. Henüz hesabınız yoksa lütfen yeni bir soru sorun.