- Note: Not all apps have this ability—it’s part of the code, and Android will only offer the option for apps that have the ability to download and install applications. The option to allow sideloading apps can be found in a couple of different places, but the easiest way to handle it is from a “universal” setting that will show all apps.
- Spotify closed the submission process for new apps on the 24th of March 2014. Future releases of the Spotify Desktop client will no longer feature an App Finder tab and will no longer support the presentation of Spotify Apps, therefore this API has been discontinued.
Update September 2020: While these exact instructions don’t work anymore, there are solutions in the comments.So please read the comments as well until I found the time to test new ways and to update the post.
A friend of mine asked me if it was possible to use the Spotify Web Player on his Android smartphone.
With Filter on the desktop app, you can list specific content based on a search term in any playlist or Liked Songs in Your Library. Select Filter at the top of track listings. Enter a search term. Only titles containing that term are now listed. To return to the original listing, either clear your search or click X to remove the filter. If you want to concentrate with the help of your favorite tunes, it can be quite the pain if your Spotify web player is not working. But as usual we are here to help you. Spotify Web also checks your User-Agent string. As your browser “admits” it’s running on an Android device, you will still be redirected to the “Download the App, hurr durr!”-site. Therefore we need to change the User-Agent string Firefox sends to Spotify. Install the already mentioned User-Agent Switcher and Manager Addon in Firefox Nightly. To playback music from Spotify in your browser (via the Web Playback SDK), you don’t need to do any additional steps in your App Settings. To playback music from Spotify on iOS (via the iOS SDK), enter Bundle IDs. To playback music from Spotify on Android (iva the Android SDK), enter one or more Android package name and its SHA1 Fingerprint. It's as if the browser/web player is, for lack of a better term, 'stuck'. With the web player open, I played music with the Spotify app on my phone, clicked Devices Available on the bottom of the app, and then switched it to Spotify Web Player. The browser/web player started playing like normal again, as.
If you are like me and don’t use Spotify on mobile very often, you might not know that the free version of the Spotify app is heavily castrated. I’m not using it a lot, but if I understood correctly, you can’t properly play a playlist or one song, you get force fed “matching” songs. Also you can’t constantly skip songs. To push their Premium Account to you, Spotify additionally prevents mobile browsers from using their less limited Web player.
While I understand that Spotify wants to earn money, I heavily dislike the artificial limitations to push people to a paying account. If you can’t sell your Premium Account with a feature list, you should probably work on the list instead of artificially limiting the features on different devices. Especially the differentiation between PC and mobile browsers triggered me. Therefore I welcomed the challenge of convincing Spotifys Web player to work on Android.
The Spotify Web Player uses EME(Encrypted Media Extensions), so we’ll need a Browser supporting these. I used Firefox Nightly, as I’m already using Firefox on all my devices anyways and I strongly dislike Chrome.
As Spotify seems to check the phone resolution, we need to configure Firefox to return an accepted resolution.
- Enter
about:config
into a tabs URL window - Search for
layout.css.devPixelsPerPx
- Change it from
-1.0
to a positive value,1
is a good starter
You can experiment with this value, for my OnePlus 3T and my friends Samsung Galaxy S6, setting it to 2 worked well.
This will change how web sites will be scaled, so don’t be surprised if everything is very small now.
Sadly, using Firefox Nightly with the changed scaling settings is not sufficient. We need to use two additional Firefox Addons: User-Agent Switcher and Manager and uBlock Origin.
Changing the User-Agent
Spotify Web also checks your User-Agent string. As your browser “admits” it’s running on an Android device, you will still be redirected to the “Download the App, hurr durr!”-site. Therefore we need to change the User-Agent string Firefox sends to Spotify.
Android Browser That Circumvennts Spotify Desktop Web App Download
Android Browser That Circumvennts Spotify Desktop Web App Computer
- Install the already mentioned User-Agent Switcher and Manager Addon in Firefox Nightly
- Select “User-Agent Switcher and Manager” from the 3-dot menu
- Select a nice User-Agent from the list. I chose a recent Firefox Version (Firefox 63.0) with Windows 7, just because it’s most likely one of the most used User-Agents.
- Don’t forget to press “Apply”.
uBlock Origin
In theory this should suffice to let you use Spotifys Web Player. But I had a lot of Firefox crashes while testing, this setup. Adding a block rule to uBlock Origin seemed to fix that.
Android Browser That Circumvennts Spotify Desktop Web Apps
- Download the uBlock Origin Addon
- Go into its configuration (Addons -> uBlock Origin -> Options)
- Go to “My filters”
- Add
||www.spotify.com/*$document,domain=www.spotify.com
in the list
After all those configurations, I was able to successfully use the Spotify Web Player from my OnePlus 3T Android device. My friend was able to use it from his Galaxy S6 as well.
If you don’t hear any sound, don’t forget to check your current playback device (the PC icon in the lower right corner).
This could work on iOS as well, but I have neither tested it nor do I have any interest in doing so.