Closed Bug 1862390 Opened 11 months ago Closed 11 months ago

Firefox media controls remain active even after stopping playback for YouTube videos

Categories

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

Firefox 119
defect

Tracking

()

RESOLVED DUPLICATE of bug 1696731

People

(Reporter: pdebruine, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.50 Safari/537.36

Steps to reproduce:

If I play a YouTube video in Windows 11 the media controls are shown in the Windows Action Center, but after going back to the YT homepage the controls for the last played video are still shown.

  1. Go to youtube.com
  2. Play a video, the media controls are shown in the Windows Action Center
  3. Go back to the YT homepage. The media controls are still shown in the Windows Action Center for the last played video.

The same behavior also happens with embedded YT videos. For example:

  1. Go to https://gathering.tweakers.net/forum/list_message/77015582#77015582 (enable the cookies for YT)
  2. Play the embedded video, the media controls are shown in the Action Center
  3. Now go to the main site: https://gathering.tweakers.net/ there is no video playing anymore and also not visible, but in the Action Center the Media Controls are still shown.
  4. Go to a completely different site (mozilla.org for example) the media controls for the video of step 1 are still shown.

The only way to get rid of the controls is to close the tab. I tried the same with other websites that play videos (twitch.tv for example or some newsite) but there the media controls are removed if the video is no longer playing

Actual results:

Media controls remain visible even if the video is not playing.

Expected results:

When the page is changed the media controls should be cleared.

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

Alastor, do you know if this is the expected behavior?

I tried YouTube on macOS, and it also keeps the control in the menu bar after returning to the main page. Safari behaves similarly, and I think it's because YouTube plays video on the main page when the mouse hovers over.

The other example in the report, however, behaves differently in Firefox and Safari: Firefox will keep the control after going to the main page, but Safari won't.

Flags: needinfo?(alwu)
Severity: -- → S3
Priority: -- → P3
Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1696731
Flags: needinfo?(alwu)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: