Do the following to block HTML5 video autoplay in the browser:
- Type about:config in the browser’s address bar and hit enter.
- Confirm that you will be careful if the notification comes up.
- Use the search at the top to find the preference media.autoplay.enabled.
- Double-click on it.