brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.81k stars 2.33k forks source link

If autoplay is disabled, video on CNN does not play even when clicking play on it #20222

Open timkgh opened 2 years ago

timkgh commented 2 years ago

Description

If autoplay is disabled, video on CNN does not play even when clicking play on it

Steps to Reproduce

  1. configure Brave with autoplay blocked
  2. go to https://www.cnn.com/videos/health/2021/12/24/christmas-movie-vaccine-tweet-spoof-poppy-harlow-nr-sot-vpx.cnn/video/playlists/atv-trending-videos/
  3. the video does not autoplay, which is the expected behavior because autoplay is blocked
  4. now press Play. The video loads a few frames and it's stuck in Pause mode, I cannot make it play

Actual result:

Video does not play when clicked on

Expected result:

Video should play normally when clicked on

Reproduces how often:

Always

Brave version (brave://version info)

Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit)

markg85 commented 2 years ago

I was just about to file exactly the same issue. I can confirm that this happens on Android and Desktop.

Just go to any video on the CNN site to test this. But as an example, here's one link you can test this bug on: https://edition.cnn.com/videos/arts/2018/08/29/steven-murphy-art-price-style-orig.cnn/video/playlists/cnn-style/

filipmnowak commented 1 year ago

[Version 1.45.127 Chromium: 107.0.5304.110 (Official Build) (64-bit)](https://brave.com/latest/) this is not only about CNN. most of the web pages i visit has this issue, for example bandcamp.com. autoplay blocking is utterly broken in Brave.

filipmnowak commented 1 year ago

same: https://www.pinterest.co.uk/pin/porcupine-baby-video--281543719074117/

vkuznet commented 1 year ago

Well, I have autoplay on and still can't play video on CNN site. The Javascript console gave me 42 errors with majority of ads blocked, like this one:

logs.browser-intake-datadoghq.com/api/v2/logs?ddsource=browser&ddtags=sdk_version%3A4.39.0%2Capi%3Abeacon%2Cservice%3Acontent-hub-renderer%2Cversion%3Av4.13.0&dd-api-key=pub2b644e04db84cf08661aa1cea78ce1cf&dd-evp-origin-version=4.39.0&dd-evp-origin=browser&dd-request-id=d19b578c-5973-4286-ae38-9e0121b4f026:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

And, I assume, that blocking certain site has affect ability to play the video. More importantly, it is not consistent across devices. I have two macOS laptops and (most likely over time I had to setup different settings) and on one of them everything is played just fine and on another regardless of what I do I can't make it work.

Developers, we need clear set of instructions how to clear up the settings to enable video on a specific site.

markg85 commented 1 year ago

Brave has this thing - forgot the name - to try to kill the cookie consent question.

If you have this enabled then it has a side effect. On a site like CNN you must accept the cookie else video won't play. There are many more sites with issues like this. I found out the hard way that turning off the shield, accepting the cookie, and turning on the shield does solve this issue.

markg85 commented 1 year ago

With that i suppose i solved my own issue. Still, this might be something brave devs want to look into and see if that auto consent thing can be better tuned to prevent this issue from happening at all.