How to stop auto playing videos

Many sites throughout the Internet play videos automatically when you visit them. This can be video content that is published on the site or in form of advertisement displayed on the site.

In the case of advertisement, most sites mute these videos by default but some are pushing it and turn on audio as well.

Most web browsers ship with muting functionality to counter these without you having to hunt the tab where the sound is coming from these days, but muting won't stop the video from playing.

Auto playing videos are worse on mobile as most users are not on an unlimited plan which means that they eat away the monthly bandwidth quota and may also slow down other transfers while they play.

Stop auto playing videos

The following guide provides you with information on how to stop the auto playing of videos in desktop and mobile web browsers. Please note that some browsers don't offer functionality to block videos from playing automatically.

I have talked about this back in 2015 and while the article still holds true for the most part, updates have been released and new methods discovered that justify this new guide.

Also, it covers popular browsers besides Firefox and Chrome as well.

Flash vs HTML5

Websites and services use two technologies when it comes to videos: Flash or HTML5. Flash is on a downwards spiral but still used especially when desktop browsers are used to connect to sites, but HMTL5 is the rising star that is taking over (and dominant on mobile platforms).

Flash content can be set to click to play in most browsers which prevents it from loading automatically. This means however that you will have to click on those elements on web pages if you want the content to play.

Another difference between Flash and HTML5 media is that HTML5 media will still be downloaded (buffered) even if you block it from playing automatically.

Mozilla Firefox

Firefox users can block the auto play of Flash and HTML5 video in the web browser directly without the use of add-ons.

Firefox and HTML5 videos

Starting with Firefox 41, Mozilla's implementation has become even better in regards to HTML5 videos that autoplay.

As is the case for many things in Firefox, a preference is provided that defines whether HTML5 videos play automatically or not.

The following method works for desktop and mobile versions of Firefox

  1. Load about:config in the address bar of the browser.
  2. Confirm that you will be careful if a first-time message is displayed.
  3. Use search to find media.autoplay.enabled.
  4. Double-click on the preference to set it to false.

firefox media autoplay enabled

This blocks auto playing HTML5 videos in the Firefox web browser.

Firefox and Flash video

firefox click to play

Flash video is only an issue on the desktop, and the best option to deal with it (besides removing Flash completely from the system), is to set the plugin to click to play so that it only activates when you want it to.

  1. Load about:addons in the Firefox address bar.
  2. Switch to plugins using the navigational menu displayed on the left.
  3. Locate Shockwave Flash and use the menu to the right of it to set it to ask to activate (which means click to play).

Once done, all Flash content is not loaded by default but only when you allow it to.

Google Chrome

Google Chrome for the desktop and the mobile version of the browser share many similarities but also fundamental differences.

Mobile Chrome does not support extensions or plugins for instance which limits it significantly when it comes to auto playing content on the Internet.

Chrome and HTML5

chrome html5 auto play

Google Chrome ships without an option to block HTML5 videos from auto playing.

Extensions are available that aim to fill the gap, but since mobile Chrome does not support extensions, they are only of use when it comes to the desktop version of the web browser.

Read also:  Image Inspector in Vivaldi 1.12 browser

This means that there is no way currently to block auto playing HTML5 videos in the mobile Chrome browser.

Here is a short selection of extensions that you may want to try:

Chrome and Flash

chrome flash click to play

The following applies only to the desktop version of the Google Chrome web browser as the mobile version does not support plugins including Flash.

  1. Load chrome://settings/content in the browser's address bar.
  2. Locate the plugins section on the page that opens.
  3. Switch the setting to let me choose when to run plugin content.

This blocks Flash content from playing automatically on sites that you open in the browser.

Opera

The Opera browser is based on Chromium/Blink (the same source as Google Chrome). It support plugins and extensions only on the desktop version.

Opera and HTML5

Just like it is the case for Google Chrome mobile, Opera mobile does not support an option currently that allows you to stop HTML5 videos from auto play.

If you are using the desktop version of Opera, you may install extensions for the browser to block autoplaying media elements:

Opera and Flash

opera video auto play

To disable Flash from playing videos automatically in the Opera web browser, do the following:

  1. Load opera://settings in the browser's address bar.
  2. Switch to websites using the navigational menu on the left.
  3. Locate Plug-ins on the page.
  4. Switch the preference to click to play.

Internet Explorer / Microsoft Edge

microsoft edge flash

Microsoft Edge and Internet Explorer don't offer options to block videos from playing automatically currently.

Both let you disable Adobe Flash but that will block Flash on all sites and is not really a good option if you need it at times.

While things won't change for Internet Explorer, there is still hope for Microsoft Edge as Microsoft plans to launch extensions support this Summer.

Since it is easy to port Chrome extensions to Edge, it is possible that the HTML5 blocking extensions available for Chrome will find their way to Microsoft Edge to provide users of the browser with a reliable option to block videos from auto playing.

Vivaldi

Vivaldi is a relatively new browser, also based on Chromium/Blink, that is currently only available as a desktop version.

It comes as no surprise therefore that the browser supports the very same methods to block videos from playing automatically as Google Chrome.

Vivaldi and HTML5

There is no official first-party extension store yet for Vivaldi, but you can download and install Chrome extensions by visiting the Chrome Web Store.

To block HTML5 videos from auto playing, install either of the following extensions:

Vivaldi and Flash

vivaldi autoplay stop

What you may not know about Vivaldi is that you can open the Chrome content settings in the browser as well which allow you to set plugins to click to play.

  1. Load vivaldi://settings/content in the browser's address bar.
  2. Scroll down until you find the plugins section.
  3. Set the preference to let me choose when to run plugin content.

This prevents Flash video and audio content from autoplay in the browser.

Summary
Article Name
How to stop auto playing videos
Description
The guide explains how to block videos from playing automatically (both HTML5 and Flash videos) in all popular web browsers.
Author
Publisher
Ghacks Technology News
Logo
Advertisement
Please share this article

Facebooktwittergoogle_plusredditlinkedinmail



Responses to How to stop auto playing videos

  1. Min May 6, 2016 at 11:23 am #

    I'm using this for toggling media.autoplay.enabled in Firefox:
    https://addons.mozilla.org/en-US/firefox/addon/autoplay-toggle

    • Tom Hawack May 6, 2016 at 2:29 pm #

      Same here, 'Autoplay Toggle' which simply toggles Firefox's about:config entry 'media.autoplay.enabled'

      Also, 'Quick Media Codec' toggling Firefox's about:config entry 'media.play-stand-alone' for easing the download of .mp3. mp4. m4a .ogv .ogg files rather than having them play automatically in Firefox (HTML5 of course, Flash Player eradicated system-wide here).

      • Tom Hawack May 6, 2016 at 2:31 pm #

        'comment is awaiting moderation' ... again. Moderate, WP, you do that. Oh boy ...

  2. archie May 6, 2016 at 12:15 pm #

    Very comprehensive. A useful update.

    Thanks :)

  3. Nebulus May 6, 2016 at 12:55 pm #

    It doesn't work in Fireofx ESR 38.8.0

  4. George P. Burdell May 6, 2016 at 2:31 pm #

    Martin, your earlier post:

    https://www.ghacks.net/2016/01/26/pale-moon-26-0-has-been-released/

    points out:

    "A second control of autoplaying media has been added. This one takes care of scripted content, and is enabled by default (meaning scripted media is allowed to play automatically). You can disable this by loading about:config, searching for media.autoplay.allowscripted and setting the preference to false by double-clicking on its name."

    My preference is for nothing whatsoever to happen automatically. Only give me what I explicitly ask for!

  5. Tony May 6, 2016 at 11:10 pm #

    Thanks for the great guide.

    I would love to turn off autoplay for specific sites only.

    The worst offender, by far, is about.com -- their annoying autoplay promotional videos have caused me to visit their site about 95% less!

    If anyone knows how to do this on Firefox, that would be most appreciated.

  6. BoozedUzi May 7, 2016 at 2:18 am #

    Well, this setting in about:config sounded like a great solution to those highly annoying HTML auto play vids on some sites I visit.

    However this 'solution' blocks Youtube vids from playing.

    Not a solution worth using for me as I view a lot of Youtube videos.
    And as for sites that are forcing vids on me on page load, I just quit visiting them.

    Tried on latest public Firefox 46.0.1

    • Pants May 7, 2016 at 8:22 am #

      I can confirm this. One solution is to use the autoplay toggle add-on mentioned in the very first comment. That's what I'm doing. Default block, then toggle on and back off for a few sites as needed.

  7. 12b May 7, 2016 at 2:08 pm #

    i have found that setting 'media.autoplay.enabled' to 'false' in FF can cause Vimeo videos to not play

  8. fokka May 7, 2016 at 6:37 pm #

    thanks for the guide, gonna try it out on firefox!

  9. Martin May 29, 2016 at 3:01 pm #

    Don't see any plug-in sections in the Vivaldi browser

  10. James September 26, 2016 at 8:36 am #

    one way to block video from autoplaying on IE is: tools/internet options. Choose 'security' tab. Click on the red 'no entry' sign, then 'sites' button. Add the web address to the restricted sites list and videos won't play on that site. Not comprehensive, but you can at least add the worst offenders.

  11. pjcamp October 5, 2016 at 7:18 pm #

    Changing the media.autoplay setting in Firefox also disables all animated GIFs. Do you have a way around that?

  12. chester January 5, 2017 at 5:51 pm #

    I have Chrome, and AOL still auto plays videos. This does not work.

  13. Susan S January 18, 2017 at 7:25 pm #

    And Chrome no longer includes a plug in section under settings, advanced. Functionality of Chrome worse than before.

  14. ESKO May 19, 2017 at 4:15 pm #

    DOS'NT worked in opera i want really solve for this problem i fed up :((

Leave a Reply