Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

YouTube video starts to buffer without pressing the "play" button

more options

When I open a YouTube video it starts to load automatically even though I haven't pressed the "play" button yet which in turn consumes the bandwidth. Before it would download a page and a video thumbnail and started to load the video itself ONLY after I pressed the "play" button. I tried to change every setting in about:config related to cache, buffer, media, autostart, autoplay, preload etc. but nothing helped. I wouldn't like the video buffering to be disabled completely because I do need it but only after I click to play a video. I also tried to use the add-on "YouTube no Buffer" but it didn't help at all. It seems the problem appeared after the version 80 update.

When I open a YouTube video it starts to load automatically even though I haven't pressed the "play" button yet which in turn consumes the bandwidth. Before it would download a page and a video thumbnail and started to load the video itself ONLY after I pressed the "play" button. I tried to change every setting in about:config related to cache, buffer, media, autostart, autoplay, preload etc. but nothing helped. I wouldn't like the video buffering to be disabled completely because I do need it but only after I click to play a video. I also tried to use the add-on "YouTube no Buffer" but it didn't help at all. It seems the problem appeared after the version 80 update.
Attached screenshots

All Replies (2)

more options

You can look at these prefs on the the about:config page to see what settings work for you.

  • media.autoplay.default = 5 [0:allow;1:blockAudible;2:Prompt;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true

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

cor-el said

You can look at these prefs on the the about:config page to see what settings work for you.
  • media.autoplay.default = 5 [0:allow;1:blockAudible;2:Prompt;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true
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.

Thank you for your reply. However it didn't help 100%. After changing these parameters the behavior slightly changed. I have "Restore previous session" option enabled so if I have YouTube tabs opened and restart the browser the tabs open and video wouldn't start to load but when I middle click on another video to open it in a background tab and switch over to it, the video would still keep loading beforehand any action. The problem might be caused by new tabs preloading behavior. In other words completely disabling background preloading of new tabs opened by middle click could help. Tabs should only cache but not load until I switch over. Any suggestion?