Open Bug 1865644 Opened 2 years ago Updated 2 years ago

Website can play audio on hover over the video, which is unexpected

Categories

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

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

()

Details

Attachments

(1 file)

Go to: https://www.lavanguardia.com/andro4all/compras/mejores-moviles-500-euros

See how when you scroll down and hover over the video, it starts playing with sound, regardless of the autoplay permission (which is "Block audio" for me).

The video is on a dailymotion embed:

<iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen="" class="dailymotion-player" frameborder="0" src="https://geo.dailymotion.com/player/xbygw.html?video=x8iv65n&amp;playlist=x7qoqr" title="Dailymotion video player - MEJORES MÓVILES por MENOS de 500 euros 2023" style="opacity: 1;" height="100%" width="100%"></iframe>

Alastor, do you know if this is intended? It seems dailymotion might be abusing some quirk of our autoplay heuristics or something.

Flags: needinfo?(alwu)

I cannot repro on the test-case in comment 0 which suggests the page is probably doing something to allow autoplaying the video?

Also happens in Chromium...

Well, it is not easy to reproduce. It is at least flaky and it might happen just the first time you open the website and/or if the mouse is hovering the video.

I just tried in WebKit GTK Minibrowser and it seems to block the audio but it might be the same flaky behavior I described above. I wonder if could be a 3rd party cookies thing.

Any interaction with the page can allow playback. Usually bugs like this are the result of accidental interaction. IN this particular case, I had to clear some sort of popup, maybe cookie related? That was enough. On a subsequent reload, the video didn't autoplay.

Severity: -- → S3

(In reply to Emilio Cobos Álvarez (:emilio) from comment #0)

Go to: https://www.lavanguardia.com/andro4all/compras/mejores-moviles-500-euros

See how when you scroll down and hover over the video, it starts playing with sound, regardless of the autoplay permission (which is "Block audio" for me).

The video is on a dailymotion embed:

<iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen="" class="dailymotion-player" frameborder="0" src="https://geo.dailymotion.com/player/xbygw.html?video=x8iv65n&amp;playlist=x7qoqr" title="Dailymotion video player - MEJORES MÓVILES por MENOS de 500 euros 2023" style="opacity: 1;" height="100%" width="100%"></iframe>

Alastor, do you know if this is intended? It seems dailymotion might be abusing some quirk of our autoplay heuristics or something.

I can't reproduce the issue on the test page you provided. Current the default blocking autoplay is based on the user activation. Once users activate the page by supported user gestures (such as mouse clicking, keyboard pressing) then we would no longer block the media. You can see here for more details.

Flags: needinfo?(alwu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: