-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Media Notifications aren't displayed #5290
Comments
Is this the same as #5177 ? |
Possible. Let's see after #5177 is fixed. |
#5177 was fixed and the fix should be in Nightly. This can be retested now. |
Still no media notification from spotify.com on the latest Nightly 10/8 build. |
Thanks! I'll continue debugging this. |
Okay, how do I actually play something on spotify in the browser? On desktop I can go to open.spotify.com - but that doesn't seem to work when using a mobile browser? |
@pocmo I just logged in, picked a playlist from the homepage and tapped a song. You don't have the shuffle play option like on desktop though. |
@vesta0 this appears to be included in the 2.2 milestone but it's not done yet. |
Reproducible on RC 2.3.0-rc.2 build on Xiaomi Mi Pad 2 (Android 5.1) - x86-64 architecture. |
Just retested this. I'm not seeing any notification displayed for Spotify. (Neither in the toolbar or on the homescreen)
|
I reproduced this issue playing videos from bbc.com, cnn.com, vimeo.com, on the latest Beta 80.0.0-beta.4 build, with Samsung Galaxy Tab S6 (Android 9), and OnePlus A3 (Android 6.0.1).
|
There will be a new MediaControl/MediaSession API in GeckoView soon. Android Components will switch to that and that should hopefully resolve a lot of issues. In the meantime we probably won't do any changes to the existing code anymore since that will probably all go away. |
FYI I happened to notice 1623715 landed so this should be unblocked. (Note: I'm not making any claims as to priority here) |
We are currently working on integrating the new GV API into AC. |
Still reproducing no notification of media playing shown in the status bar or in tabs tray, with sample videos from: |
Okay, this is now definitely the new API. :) @rocketsroger: Can you investigate? Maybe we need to open a GV bug if we do not get anything for those sites. |
Sure, I'll look into this. |
Yes, I can reproduce the issue with https://file-examples.com/index.php/sample-video-files/ |
https://file-examples.com/index.php/sample-video-files/ is an interesting case. On both Chrome and Sample browser this results in a downloading of the file selected. But on Fenix we play it directly. Not sure if this is an expected behaviour. I'll investigate more. |
You're right, I see the notification from techslides.com as well now. The same video formats (which play in the browser, not downloading) on https://www.learningcontainer.com/mp4-sample-video-files-download/ work. It might be something with the samples on https://file-examples.com/index.php/sample-video-files/ I also have an automated media test which is playing a video from a static test page and it doesn't show a notification either. I changed the resource video file with an mp4 from https://www.learningcontainer.com/mp4-sample-video-files-download/ and it still doesn't work. |
Confirmed with GeckoView team that this is an expected behaviour. In the https://file-examples.com/index.php/sample-video-files/ test case, except for AVI (which triggers a download) the other formats such as MOV and MP4 starts streaming. GV does not notify A-C in this case as MediaSession hence we don't have a notification. I'll get a Bugzilla issue to link here. |
Raised an issue for the file-example.com test case. mozilla-mobile/android-components#9748 |
Steps to reproduce
Expected behavior
Media notification should be displayed
Actual behavior
No media notification is displayed
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: