Device on fresh load. #117
Replies: 3 comments 3 replies
-
I tried disabling the play button with play={false} in the player props, but it's still attempting to play when I press the play button so it still throws the "Cannot perform operation; no list was loaded" error. |
Beta Was this translation helpful? Give feedback.
-
Also, is it possible to feed the player a position in the track to play from? |
Beta Was this translation helpful? Give feedback.
-
Hey @ClaudioPuggioni
Are you setting the
The callback is to "Get status updates from the player" triggered by actions of the player UI, but when you use an external device, it controls the SpotifyWebPlayback SDK instead. |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for the library and your time in advance.
I have a couple of issues using it to my preference.
Additionally, the devices icon on the webplayer disappears when this error occurs!
To make it work, before anything after login, I have to click on the devices icon and select my Desktop Spotify app. However, I would like to skip this step by just feeding the player my "active" device on load. I tried doing this using the state update callback, but it looks like even though I change the player in the state, it doesn't actually change the device played by the webplayer in the webApp. Currently, I will probably have to make a call to Spotify to change it on load.
I tried using the syncExternalDevice but I believe I'm misunderstanding what this does because it doesn't do what I thought it would, which is defaulting to the active device.
When I have both webplayer on the webApp and desktop player synced and playing, and I change the position of the track on the desktop player, the state callback doesn't trigger after the webApp webplayer resyncs on its interval. I would really appreciate if this triggered the state callback.
Beta Was this translation helpful? Give feedback.
All reactions