This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web Playback SDK ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
106
stars
7
forks
source link
Receiving playback updates without being the actively playing device #30
Hey there! I was wondering if it's possible to follow playback updates such as the currently playing song and song progress with the Web SDK without being the actively playing device, the way regular Connect devices do? The docs seem to indicate that this might not be the way the Web SDK works (https://beta.developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-getcurrentstate) but maybe I'm missing something.
Maybe my best bet to achieve this is by regularly polling the Web API endpoint instead? https://beta.developer.spotify.com/documentation/web-api/reference/player/get-information-about-the-users-current-playback/
Cheers!