How to stop onload play html5 video on websites?

3

Anyone know how stop automatic play on page load unwanted html5 videos? This is importnant for me because I use limited bandwith transfer, and that unwanted media eat my amount of limited transfer. Thank you in advance for help.

zoladp

Posted 2016-09-27T11:40:58.477

Reputation: 33

Answers

2

  • Enter about:config into Firefox’s address bar and press Enter.
  • Agree to the warning.
  • Type autoplay into the search box.
  • You’ll see a preference named media.autoplay.enabled, which will be set to True.
  • Double-click that preference and it will change to False.

Be warned that animated GIF loads normally, but doesn't play. Many times you're not aware of this, and just see an image and think that's it. This happens to me on Reddit a lot. Then you have to right-click the image and select Play.

SPRBRN

Posted 2016-09-27T11:40:58.477

Reputation: 5 185

1Thank you a lot, that is really helpful especially that hint with gif's loading in background. – zoladp – 2016-09-29T08:19:02.450

As you're new on Superuser, if you find this answer helpful, you may upvote it, and if it answers your question, you can accept it. – SPRBRN – 2016-09-29T09:36:29.317

accepted - done! – zoladp – 2016-09-29T10:46:08.983

"Be warned that animated GIF loads normally, but doesn't play", false. The GIFs aren't stopped, example here: https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif

– user598527 – 2016-11-19T16:45:08.873