Open Bug 1696731 Opened 4 years ago Updated 8 months ago

[media-control] Still be able to control Youtube videos even if user has navigated to the home page

Categories

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

Firefox 86
defect

Tracking

()

REOPENED

People

(Reporter: danjou.philippe, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11.2; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

OSX Big Sur 11.2.2 M1
Open youtube video, press play/pause button on keyboard (Macbook Air in my case), go back to YT main page, press play button (video runs in background, music hearable).

Actual results:

I was listening to my mediaplayer, saw a youtube video, paused my mediaplayer, watched the youtube video, hit back to YT main page (to leave it open for now), clicked play to listen to media player again but the video continued.

Expected results:

Shouldn't play.
Doesn't happen if you close the youtube tab.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

When you say "hit back to YT main page", you mean you opened YT main page in a separate tab or window? And when you say "clicked play to listen to media player again", where did you click? On the play/pause button on the keyboard? In other words, the media keys?

I believe if the video which continued when you clicked play was still open in another tab, that it will remain the target of the media keys and so playing again is the expected behavior. Alastor, can you confirm?

Flags: needinfo?(alwu)
Flags: needinfo?(danjou.philippe)

Closing INVALID for now. We can reopen if I've misunderstood the issue.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

hit back to yt main page = go to youtube main page in same tab as the one the video played in, just click 'back' button
clicked play again = the key on the keyboard thats play/pause button ont he macbook air aka F8

The video actually doesnt continue, it starts over in the background somewhere, test it yourself :) reproducible every time

I explain again:

  1. open youtube website
  2. click a video
  3. hit pause/f8 button to stop video
  4. hit back button to return to yt main page in the same tab
  5. hit f8/play button --> you'll hear the video starting again playing in the background
Flags: needinfo?(danjou.philippe)

Yes, I can confirm that on all platforms. The media element actually still exists after user went back the Youtube home page, because all navigation happening on Youtube are all in the same document. They just did some tricks to hide it, so I need to check why we didn't abandan the controllability for that element.

Severity: -- → S3
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(alwu)
Priority: -- → P3
Resolution: INVALID → ---
Summary: Youtube videos keeps playing even if page closed OSX M1 → Still be able to control Youtube videos even if after navigation to the home page

Yea it's not a major problem, but I thought I report it anyway, close if its too much hassle, I know some website are just doing naughty things.

Duplicate of this bug: 1827311
Duplicate of this bug: 1862390
Duplicate of this bug: 1866654
Summary: Still be able to control Youtube videos even if after navigation to the home page → [media-control] Still be able to control Youtube videos even if user has navigated to the home page
You need to log in before you can comment on or make changes to this bug.