{"id":17408,"date":"2017-03-14T16:49:10","date_gmt":"2017-03-14T20:49:10","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=17408"},"modified":"2017-03-14T16:49:10","modified_gmt":"2017-03-14T20:49:10","slug":"stop-auto-play-web-videos","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/03\/14\/stop-auto-play-web-videos\/","title":{"rendered":"Stop Auto-Play Web Videos"},"content":{"rendered":"<p><a href=\"http:\/\/www.kirkville.com\/stop-auto-play-videos-from-annoying-you-in-your-browser\/\">Kirk McElhearn<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.kirkville.com\/stop-auto-play-videos-from-annoying-you-in-your-browser\/\">\n<p>Auto-play videos suck. They use bandwidth, and their annoying sounds get in the way when you&rsquo;re listening to music and open a web page. I happen to write for a website that uses them, and it annoys me to no end. (My editors have no control over those auto-play videos, alas.)<\/p>\n<p>But you can stop auto-play videos from playing on a Mac. If you use Chrome or Firefox, it&rsquo;s pretty simple, and the plugins below work both on macOS and Windows; if you use Safari, it&rsquo;s a bit more complex, but it&rsquo;s not that hard.<\/p>\n<\/blockquote>\n\n<p>To do the whole thing from Terminal:<\/p>\n<pre>defaults write com.apple.safari WebKitMediaPlaybackAllowsInline 0\ndefaults write com.apple.safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback 0<\/pre>\n\n<p>(Or substitute <tt>com.apple.SafariTechnologyPreview<\/tt>.)<\/p>\n\n<p><a href=\"https:\/\/twitter.com\/jsnell\/status\/841448857909178368\">Jason Snell<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/jsnell\/status\/841448857909178368\"><p>I fought for six months to get those [videos] turned off. When I left, they turned &rsquo;em right back on.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Kirk McElhearn: Auto-play videos suck. They use bandwidth, and their annoying sounds get in the way when you&rsquo;re listening to music and open a web page. I happen to write for a website that uses them, and it annoys me to no end. (My editors have no control over those auto-play videos, alas.) But you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[649,30,1381,103,97],"class_list":["post-17408","post","type-post","status-publish","format-standard","hentry","category-technology","tag-esoteric-preferences","tag-mac","tag-macos-10-12","tag-safari","tag-video"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=17408"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17408\/revisions"}],"predecessor-version":[{"id":17409,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17408\/revisions\/17409"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}