Autoplaying videos follow everyone around the Internet these days. A few years ago, these used to be Flash videos and could easily be stopped simply by disabling Flash on your browser. However, as the Internet has moved to better technologies such as HTML5 for videos, so have auto-playing videos. Most of the time, these auto-playing videos tend to be nothing more than annoying news bulletins you don’t need, or worse, ads. Have you ever been scrolling down a website and randomly had a video start playing in the background? On top of being annoying, these typically consume more data and battery.
How to Stop Autoplaying Videos on Safari
First, you need to quit Safari.
Press cmd+Q or on the top-bar click Safari > Quit Safari.
Now open Terminal.
Press cmd + space bar.
Type Terminal and hit enter.
Paste this command in Terminal: defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false.
This disables auto-playing videos on Safari.
To enable it again, use this command: defaults write com.apple.Safari WebKitMediaPlaybackAllowsInline -bool false.