Closed Bug 1900959 Opened 8 months ago Closed 7 months ago

New Tab says "AUTOPLAY BLOCKED" despite there being no auto-play content and it not being blocked

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 126
Desktop
Windows
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: xracoonx, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

  1. Go to https://www.tagesschau.de
  2. Right-click on one of the "LIVEBLOG" items (purple), e.g. currently "Krieg im Nahen Osten" and "Krieg gegen die Ukraine"
  3. Click "Open Link in New Tab" from the context menu

Actual results:

The new tab shows "AUTOPLAY BLOCKED" as long as it is not activated

Expected results:

It should not show "AUTOPLAY BLOCKED" since there is no auto-play content. And it shows this message even if auto-play is allowed on the page.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
  1. Go to https://www.tagesschau.de
  2. Right-click on one of the "LIVEBLOG" items (purple), e.g. currently "Krieg im Nahen Osten" and "Krieg gegen die Ukraine"
  3. Click "Open Link in New Tab" from the context menu

I can reproduce, but I don't think anything in the page is actually trying to play.

  • If I set my prefs to allow autoplay,. I still see autoplay blocked in the tab.
  • If I open the link in a new tab and focus that tab quickly,. I don't see the autoplay blocked note in the tab.

Seems like we're triggering that message in the tab incorrectly somehow.

Blocks: media-triage
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(jmathies)
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

The website does play something which is inaudible and will be blocked.

2024-07-03 16:03:25.838000 UTC - [Child 52888: Main Thread]: D/Autoplay Use 'sticky-activation', isAllowed=0
2024-07-03 16:03:25.838000 UTC - [Child 52888: Main Thread]: D/Autoplay IsAllowedToPlayInternal, isInaudible=1,isUsingAutoplayModel=0, sitePermission=5, defaultBehaviour=1
2024-07-03 16:03:25.838000 UTC - [Child 52888: Main Thread]: D/Autoplay IsAllowedToPlay, mediaElement=1d4698ce000, isAllowToPlay=blocked
2024-07-03 16:03:25.838000 UTC - [Child 52888: Main Thread]: D/Autoplay reject MediaElement 1d4698ce000 to play

It uses a base64 inaudible video to detect if autoplay is allowed or not, which we've been seeing a lot since browsers started blocking autoplay.

2024-07-03 16:03:25.838000 UTC - [Child 52888: Main Thread]: D/HTMLMediaElement 1d4698ce000 Trying load from src=data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=

But nowadays Firefox supports a better way for autoplay detection, which website could use to avoid really playing an inaudible media element.

No longer blocks: media-triage
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.