Firefox media controls remain active even after stopping playback for YouTube videos
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: pdebruine, Unassigned)
Details
Attachments
(1 file)
65.96 KB,
image/png
|
Details |
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.
- Go to youtube.com
- Play a video, the media controls are shown in the Windows Action Center
- 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:
- Go to https://gathering.tweakers.net/forum/list_message/77015582#77015582 (enable the cookies for YT)
- Play the embedded video, the media controls are shown in the Action Center
- 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.
- 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.
Comment 1•1 year ago
|
||
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.
Comment 2•1 year ago
|
||
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.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•