rgadellaa’s avatarrgadellaa’s Twitter Archive—№ 8,383

                  1. Continuing where I left off this morning: Apple Music on the web. I did some more testing. It's kind of hilarious. 🧵👇 x.com/RGadellaa/status/1402153709673590793
                    oh my god twitter doesn’t include alt text from images in their API
                1. …in reply to @RGadellaa
                  To recap, Safari on iPadOS refuses to open the Apple Music website. You get the popup below. (This is on a iPad Mini 5th gen, so it doesn't lie about being the mobile version of Safari like it does on regular sized iPads)
                  oh my god twitter doesn’t include alt text from images in their API
              1. …in reply to @RGadellaa
                So I went ahead and tried to open the Apple Music site on Chrome for Android (Pixel 5). Works. Just. Fine. I can play music, it continues in the background, I even get Now Playing controls in the notification area, with artwork and everything.
            1. …in reply to @RGadellaa
              The Now Playing notification works on Android (and most desktop platforms when you use a proper browser) because the site uses the MediaSession API that Safari will finally start supporting in Safari 15.
          1. …in reply to @RGadellaa
            I hoped that would also mean that background playback would finally work in home screen web apps on iOS. Noooooope. At least not on iOS 15 beta 1, according to my sources (haven't tried it myself yet).
        1. …in reply to @RGadellaa
          Just to be clear: a site may play audio, and even continue to play audio in the background (other app in focus, screen turned off) - except when you add it as a home screen web app. That means the audio stops as soon as you turn off your screen or open another app.
      1. …in reply to @RGadellaa
        Anyway. The Apple Music website works fine on phones. Except on iOS, because Safari refuses to open the website and directs you to the app.
    1. …in reply to @RGadellaa
      Apple argues that the web is a viable alternative to publishing an app in their App Store, but they apparently can't even get their own music website working in their own browser on their own platform.
  1. …in reply to @RGadellaa
    I'm saying "can't" and not "won't", because they're actively blocking Safari on iOS from opening the site. I'm guessing that Apple Music's website is hardcoded in some list of sites that cause a system popup dialog, prompting you to use the app instead.
    1. …in reply to @RGadellaa
      So someone at Apple clearly went through the effort of making the site responsive, use the MediaSession API, etc, so it works good on mobile. But that person is working at Apple, so his work won't work on their own hardware. It must be a real shit job to be a web dev at Apple.