Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 1 svar
  • 0 har detta problem
  • 2 visningar
  • Senaste svar av 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

Ändrad av TheThingKing

Alla svar (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