Youtube video continues to play after navigating back
Steps to reproduce: 1. Open youtube 2. Open any video 3. Hit back and navigate to youtube main page 4. Press media key play/pause on keyboard
Expected result: nothing happens Actual result: the sound from the video continues on the tab with youtube main page, the tab has "PLAYING" on it
All Replies (5)
Hmm, I can't replicate that on Firefox 119.0.1 for Windows. As soon as I go Back from a video it stops.
Do you use any add-ons that could be fooling YouTube into thinking you are still viewing the video?
I've tried disabling all of the addons, it did not help I'm using Firefox 119.0.1 on Linux
> As soon as I go Back from a video it stops. It seems to me you have skipped the part where I press the play/pause key on the keyboard after i go Back
You're right, I missed that last step!
It appears that Firefox doesn't clear the video from whatever system queue is used for the "hardware keys" when you go Back from the video to a previous YouTube listings page to within. I wonder whether this is due to the design of YouTube avoiding a true navigation by modifying the page contents and creating synthetic history entries.
I couldn't find a bug on file for this, but this could be due to trying the wrong terms...