-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Videos played from Custom tabs do not stop when custom tab is closed #2097
Comments
We need a GV API exposed through the AC engine |
From the same bug in r-b mozilla-mobile/reference-browser#660:
This means that we aren't closing the session as we should when the CT back button is pressed so I don't believe this is related to the same GV bug. I've filed this issue here to fix it: mozilla-mobile/android-components#2874 |
The a-c issue was just fixed; the next Fenix build should have this change. |
This is still not fixed in the latest build (5/10). Tested on a OnePlus 5T and Nexus 6. @jonalmeida was the fix not merged? |
@bsurd yes it was, I'm able to follow the STR from the issue and I can see that it is fixed. Can you let me know what STR you are using where it doesn't work? |
@jonalmeida Followed the steps in the description, and I can still reproduce this with the latest (5/13 now) build. Open a custom tab with a video (from mail, vimeo in my case) > play the video > press the device back button to exit the custom tab > video should stop.. (it keeps playing, the only way to stop it is to open any other media playback) If pressing the back button from the custom tab, playback does stop but Fenix also crashes, logged an issue #2447 for this I would upload a video but cannot find a way to record sound and video at the same time... This way of recording seems to be blocked for now. |
Ah, I see the issue now: while the a-c feature fixes the issue, Fenix needs to allow the Custom Tabs feature to support I'll add a PR in fenix for it. Nice catch @bsurd ! |
Testing currently blocked by #2447 |
Verified as fixed on the latest build 5/23, with Nexus 6P (Android 8.1.0), Huawei Honor 8 (Android 7), and Sony Xperia Z2 tablet (Android 6.0.1). |
Steps to reproduce
Expected behavior
Video's audio stops playback
Actual behavior
Video's audio continues playing. afaict, it's impossible to stop the video: the custom tab is closed from the calling app (e.g. gmail) so you can't reopen it and opening Fenix directly does not give you access to the custom tab or video.
Device information
fwiw, as an Android user, it concerns me that Fenix (and likely GV specifically) continues running in the background even after I've closed the app without my consent, using my battery and hurting device performance. This goes back to my concern from #1838 where Fennec would run in the background (even without videos playing), slowing down my entire low-end device.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: