I am having some issues using the spotify sdk in an angular project. I've managed to set-up a working player, but this player does not work if other components try to use it. In that case the player object acts like it is undefined. The issue might be that the: 'window.onSpotifyWebPlaybackSDKReady' does not work the way I expect it to work, or it might be something to do with me doing something wrong in angular.
If anyone has some experience with angular and spotify sdk, please let me know something.