allo- / ffprofile

A tool to create firefox profiles with personalized defaults.
GNU Affero General Public License v3.0
786 stars 56 forks source link

Disable HTML5 Video Autoplay #46

Closed allo- closed 6 years ago

allo- commented 8 years ago

One for the Annoyances Category.

media.autoplay.enabled

ghost commented 6 years ago

This option "breaks" YouTube. You have to click on the video progress bar and can't just press play. Is that expected? Otherwise this settings could be interesting too:

Disable HTML5 video autoplay until in foreground

Add an option to stop autoplay until the tab gains focus. https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/

Setting: media.block-autoplay-until-in-foreground: true Title: Block autoplay of background tabs Description: Disable Autoplay until a tab becomes active.

allo- commented 6 years ago

This is indeed an effect. Clicking play, pause, play again works on almost all sites.

This should be at least documented.

allo- commented 6 years ago

From the help text: Per default, <video> tags are allowed to start automatically. Note: When disabling autoplay, you will have to click pause and play again on some video sites.

The article says that the new setting is on by default and in my profile it looks like it is.

Closing, because it works as intended. For more comfortable enable/disable autoplay you probably need some extension.