搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 user2942683

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.
附加的畫面擷圖

所有回覆 (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?