Google-chrome – Prevent embedded YouTube videos from autoplaying

autoplayembeddedgoogle-chromevideoyoutube

When accessing certain websites that have YouTube videos embedded I have noticed that sometimes when the webpage loads the YouTube video will automatically play and taking a look at the source code it appears this is decided by a modifier to the URL of the embedded video.

My question is whether there is some kind of setting (in any browser or YouTube itself) or perhaps a Chrome extension which allows you to disable autoplaying from any website regardless of whether the URL has been setup to autoplay?

Thus far I haven't been able to find any extension or setting to allow this. Is it possible that some sort of modified certificate for one of the sites that YouTube-embedded videos pull information from could prevent this?

Best Answer

Not only for Youtube videos, but for all videos:

In firefox, to stop autoplay, open the about:config page and set media.autoplay.enabled to false

In Chrome, to stop autoplay, open the chrome://flags/#autoplay-policy page and choose Document user activation is required

After change, relauch your browser.