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 -
Replying to @slightlylate @treshugart
I assume from your comment it *hasn't* shipped in iOS? So my option 3 then? :(
3 replies 0 retweets 1 like -
Replying to @AdamRackis @treshugart
I recall Apple engineers weighed in on design, and I see this, but don't know shipping status offhand: https://github.com/WebKit/webkit/tree/master/Source/WebCore/Modules/mediasession …
1 reply 0 retweets 2 likes
Just verified that `navigator.mediaSession` exists in Chrome for Android (all versions I tested) but not stable iOS Safari.
11:54 AM - 31 Jul 2017
0 replies
0 retweets
2 likes
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.