Smart "platform" folks: possible for site to play a playlist *even if* browser not active/focused/phone asleep? cc @slightlylate @treshugart
-
-
Replying to @AdamRackis @treshugart
Media Session API allows this while browser in background: https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API … Shipped in Chrome for Android 57
3 replies 0 retweets 5 likes -
Do you have an idea of how to get media notifications for Chrome on Android to stay open unless the user dismisses them? They seem to randomly disappear, and I can't find documentation on that behavior
1 reply 0 retweets 0 likes -
Hrm, is the media still playing?
1 reply 0 retweets 0 likes -
No, when it's when paused. I'm building a podcast PWA, and so the user might want to pause and do other things, then resume from the media notification later
1 reply 0 retweets 0 likes -
Oh, fascinating.
@mounirlamouri is authoritative here.1 reply 0 retweets 0 likes -
Replying to @slightlylate @lastmjs and
When the media player is cleared out, we drop the notification. If the page is visible, it should really not happen unless you change src. If the page is in the background, Chrome may clear things for memory saving but shouldn't be too agressive unless hitting memory pressure.
2 replies 0 retweets 2 likes -
Replying to @mounirlamouri @slightlylate and
Is there somewhere I could open a bug or feature request about this? The notification clears very easily when I'm streaming an audio playlist on cellular data. I'll pause audio while in the background with my earphones, play the audio later, and the notification will disappear.
2 replies 0 retweets 0 likes
http://crbug.com And thanks for filing!
-
-
Replying to @slightlylate @mounirlamouri and
NP, thanks for the tip, seems I'm not the only one with similar issues: https://bugs.chromium.org/p/chromium/issues/detail?id=884517&can=2&start=0&num=100&q=Media%20notification&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified&groupby=&sort= …
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.