-
Notifications
You must be signed in to change notification settings - Fork 975
All video in Brave should default with autoplay=false, w/site level opt-in exceptions #7663
Comments
I ran a quick check in muon and I think this is where we could update to disable autoplay: Could be some other locations too, but that appears most likely. There are 5 instances of autoplay mentioned on that page, and a couple additional results came up when queried in the muon repo, but the above looks most likely in my non-C++ savvy mind. |
Update: browser-laptop/js/state/contentSettings.js Line 280 in 6f9a4f2
In addition to global behavior, we are going to want to have site-level exceptions, most likely in the site-level Shields menu. Discussing approach with the team on this portion now. We may set default behavior first, while developing the exceptions in the UI/config. TBD, in process of discussing this now. |
@jonathansampson from the product discussion via @BrendanEich , the latest with location for the update. vc @bradleyrichter |
Autoplay is definitely still happening in my browser (freshly downloaded 08/06/18 ) Examples : Could it be that I haven't yet found the relevant preference ? |
@tomm174 Check your autoplay setting (Settings > Security > Autoplay Media): |
Test plan
#8609 (comment)
Yes - Any features that appear similar also appear to be optional in nature. This specific issue is filed to make the default behavior for all video to not autoplay (requested from @BrendanEich ).
Autoplay should be opt-in v opt-out within Brave. Minimal negative impact, as many/most mobile browsers require a tap to initiate playback (autoplay = disabled by default on mobile). User should be able to enable globally via prefs to opt-in if desired.
The fast fix for this appears to be at the DOM level, via
video-dom-autoplay.htm
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/media/video-dom-autoplay.html?dr=C
This appears to be the test for ensuring the above setting functions as expected:
https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/media/video-no-autoplay.html?dr=C
All
@bridiver @BrendanEich The above = what I've been able to gather from searching the chromium source, so I'm hoping that if it doesn't provide the full solve, that it at least moves the needle to getting default video playback behavior to disable autoplay across the browser.
IIRC mobile is a non-issue w/autoplay.
#4045 #2227
The text was updated successfully, but these errors were encountered: