Youtube videos play after navigating off the page
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: u757928, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Steps to reproduce:
- Go to YouTube
- Click "Shorts" in the navigation bar on the left side
- Click another button quickly (like "Home" or "Subscriptions")
Actual results:
A video starts playing when I go to the Shorts feed, then when I click another button (it has to be quick. It's usually the result of misclicking "Shorts" when I meant to click "Subscriptions"), I can still hear the video in the background while I'm browsing other things, with no way to stop it short of reloading the tab.
Expected results:
The video should have stopped upon loading a new page.
Comment 1•9 months 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•9 months ago
|
||
I can reproduce the issue on Nightly135.0a1 Windows11 24H2.
Profiler : https://share.firefox.dev/41RjSfn
![]() |
||
Comment 3•9 months ago
|
||
Sounds like some sort of race where we fail to cancel the shorts playback. Maybe something in media state machine mechanics?
I'd like to clarify it happens elsewhere, not just YouTube, but YouTube is the easiest to reproduce.
Description
•