-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Pause media playback in Private Browsing when minimizing the app #1117
Comments
@sv-ohorvath isn't this the current behaviour? |
No, i.e. soundcoud.com still plays in the background. |
@cpeterso is there a related GV API for this? |
Agi says below to call |
OTOH, isn't "YouTube continues to play in the background" a feature that we wanted? YouTube plays in the background in Fennec, but not Chrome (unless you pay for YouTube Red). |
Yeah, and I don't know that it makes sense to pause playback if I minimize something. On desktop, for example, minimizing private windows keeps media playback going, so I don't quite understand why this is required for Fenix. |
This behaviour is in parity with Fennec. We will re-evaluate whether it needs to change post-mvp. |
Note that Fenix also keeps playing if you close the app (#1679), not only minimize it. Fennec definitely doesn't do that, and I don't see how that would make sense. Also, killing the battery is not fun, probably is worth stopping some videos at least... But I agree that's probably more refinement. |
@vesta0 - Given Emilio's description of the problem, I think we should reopen his issue #1679 As for leaving media playing when the app is backgrounded/minimized (this issue), we might want to add a persistent notification in the notification bar so users can find the app playing audio. |
The right way to do this in GeckoView is setting |
FWIW, this user story seems like a bug to me. I use my browser as a media player a lot, and having media stop while the app is backgrounded is a problem to fix, not a feature to introduce. |
@vesta0 what default do we want to support here? |
I think we should always default to play and but give our users the option to change that to pause in the settings. |
The situation has changed a bit since we are now showing the media notification for private tabs (without any details revealing the website), see:
With that new behavior do we still need a "pause when minimized" functionality? CC @topotropic |
@pocmo that's a great point. @topotropic do you have any concerns around this particular use case: User is viewing a private video in private mode, and minimizes the tab in order to maintain their privacy but the media keeps playing until they initiate a second action to either close the private app or pause the media through the notifications. |
Sounds good to me, thanks! |
Thanks @topotropic just in case my question wasn't clear: the use case I mentioned above may raise some concern with privacy focused users. From a user experience perspective, I was wondering if you thought we were designing in accordance to a privacy centric user's expectation. It sounds like you don't think that's an issue, and you are good with the media not being paused in both private browsing and regular browsing. If that's the case, we can close this issue. |
Thanks for the clarification, @vesta! |
As a user I want to have the option to pause media playback in Private Browsing when minimizing the app, so I can protect my private content.
Acceptance Criteria:
-I have the option to pause media playback in my browser media settings.
-When enabled, I can't hear media playback when I minimize my private browser while playing audio/video.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: