multiple instances of Web Playback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
I was wondering if the following scenario will be possible to implement, I'm assuming that yes but I have troubles creating a proof of concept, let me explain:
I would like to create an application which for now will play random songs from Spotify using Spotify Web Playback SDK. I want multiple users at the same time to play potentially different songs. Let's assume they will authorize with their premium Spotify accounts. I'm trying to setup a demo using this guide:
https://developer.spotify.com/documentation/web-playback-sdk/guide/
I thought that I could simply open the client in two different tabs and that will work, but in that other tab it displays the message:
Instance not active. Transfer your playback using your Spotify app.
I have noticed that in my Spotify desktop app it detects it as a different device:
In order to make it work on that second tab I have to switch the device, but I want to play the music on both tabs at the same time; I think that maybe in both tabs the application detects the same authorized user and maybe that is the issue and if I could authorize with another Spotify user in second tab then that will work on a single device..?
I actually created another user and gave it premium and tried to open the app in incognito tab and authorize that user but that didn't work, I got the same message. Can anybody help me with that? How can I prepare and test such scenario in local environment?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page