brave-browser: Autoplay is not blocked

Follow up to: https://github.com/brave/brave-browser/issues/3751

By default we block autoplay. Autoplay is no longer consistently blocked.

Steps to Reproduce

  1. Clean profile
  2. Go to https://www.reddit.com/r/funny/comments/cnt8no/best_cops_ever/
  3. Block notifications and accepts cookies
  4. Scroll down the page
  5. Reload the page 5 times

5605

Actual result:

The Blocked media indicator in URL bar is shown The video is played image

Expected result:

The Blocked media indicator in URL bar is shown The video is not played

image

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Reproducible on

Brave 0.68.121 Chromium: 76.0.3809.100 (Official Build) beta (64-bit)
Revision ed9d447d30203dc5069e540f05079e493fc1c132-refs/branch-heads/3809@{#990}
OS Windows 7 Service Pack 1 (Build 7601.24494)
Brave 0.70.49 Chromium: 76.0.3809.100 (Official Build) nightly (64-bit)
Revision ed9d447d30203dc5069e540f05079e493fc1c132-refs/branch-heads/3809@{#990}
OS Windows 7 Service Pack 1 (Build 7601.24494)

Not reproducible on

Brave 0.67.124 Chromium: 76.0.3809.100 (Official Build) (64-bit)
Revision ed9d447d30203dc5069e540f05079e493fc1c132-refs/branch-heads/3809@{#990}
OS Windows 7 Service Pack 1 (Build 7601.24494)

cc @brave/legacy_qa @simonhong @rebron

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 7
  • Comments: 31 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Please fix this issue … is the only working solution to just use firefox where it correctly disables AutoPlay ?

Autoplay is on status blocked on site info, but it is still not blocking - especially on Youtube.com. This is very annoying when having multiple Youtube Tabs open together.

Windows 10 20H2 OS Build 19042.508 Version 1.14.84 Chromium: 85.0.4183.121 (Official Build) (64-bit)

Had a helpful/active Community member submit a similar report confirming the above: Quoting @hnktong:

OK, I’m getting the same thing as the OP in same version of Brave and macOS. I tried your suggestion, and the setting will not change from Allow. When I select Block or Block (Default), it just goes back to Allow. fdaac398e8c5bc0fceb4e445fdd5cfc9e40cc893

Also, before I tried that, I tried going to the setting directly, and when I turn the toggle to “Blocked” in the detail setting, the list of site settings still says “Ask,” but it doesn’t even ask with either toggle. image image

So I tried adding youtube.com to the block list and did a Shift-Cmd-R to force reload, and that worked: image

HOWEVER, it doesn’t appear to work in Nightly (0.71.68 Chromium: 76.0.3809.132 (Official Build) nightly (64-bit)). When I get more time, I’ll tinker more.

Thread with additional user report: https://community.brave.com/t/disable-youtube-autoplay-on-page-load/80790

Several +1s from Community: https://community.brave.com/t/i-want-to-stop-all-autoplay/95116/2

This is a fairly frustrating issue and I feel like this should be resolved sooner rather than later. Can I get an update as to where we stand on this issue? cc @rebron @bsclifton @btlechowski

I can reproduce this on several sites, as can other users who have reported similar behavior. I actually brought this up internally here: https://bravesoftware.slack.com/archives/C0YL5KMA8/p1559587999016400 Some excerpts from that thread: Typical behavior is as follows:

  1. On the site (Youtube used in example) Autoplay is not blocked even though it is set to Block in default Site settings
  2. The lock icon shows Autoplay = Block — changing this to Block (default) does not change the setting on page reload
  3. Lock --> Site Settings --> Autoplay reveals that, somehow, Autoplay is now set to Allow (default) [You can see this in the first gif image attached]
  4. From here, changing site setting to Block and reloading works…usually. Sometimes, behavior is similar but, as you can see in the second attached gif, sometimes changing the setting from Allow --> Block does change the setting, but doesn’t show that it’s changed and instead switches to Allow in the drop down menu — even if Autoplay is subsequently blocked

image

image

☝️ This was tested in earlier builds, but the same behavior is shown in 0.68x Release channel. Tested using macOS Mojave.

@Wickiot thanks for sharing steps to reproduce.
Still can’t reproduce using above steps in the current release version in Win 11 x64 withAuto play blocked in brave://settings/content/autoplay.

Brave 1.43.93 Chromium: 105.0.5195.127 (Official Build) (64-bit)
Revision 912488396852bf658ab32465980c0b93a3c27a83-refs/branch-heads/5195@{#1109}
OS Windows 11 Version 21H2 (Build 22000.978)

image

I can confirm this is still an issue. OS: Windows 10 1903 brave Version 1.12.112 Chromium: 84.0.4147.125 (Official Build) (64-bit)

autoplay not blocked even in private window and may include sound

Tested on both Windows 10 and Linux - Manjaro (physically different machines);

Both Global Autoplay blocking and site specific autoplay blocking havent worked for me at all, on any site i have been to on either win or linux.

Have tried different combinations of both global and site specific autoplay blocking without luck. Also tried a fresh profile, no luck.

Brave 1.11.104 Chromium: 84.0.4147.105 (Official Build) (64-bit)
Revision a6b12dfad6663f13a7e16e9a42a6a4975374096b-refs/branch-heads/4147@{#943}
OS Windows 10 OS Version 1909 (Build 18363.959)

Here’s another site. It seems to popup/open the video after a small delay, but there’s no reason that Brave shouldn’t be able to block playback:

https://www.laptopmag.com/news/ps5-price-release-date-and-more-possibly-revealed-by-leaker

It’s worth noting that Edge can and does block the playback on this page when it is set to “Limit”.

I’m seeing this on Kinja sites - deadspin.com, lifehacker.com, etc. The videos that autoplay are “Recent Videos” and “Featured Videos”. Examples:

Recent Videos https://deadspin.com/nikola-jokic-lulled-hassan-whiteside-to-sleep-1839326493

image

Scroll down a bit more: image

Featured Videos https://deadspin.com/ image