Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Web Playback SDK

Web Playback SDK

I am working on side project which is spotify clone so i want to play song in my project so how can i use web playback sdk in angular project.

I follow https://developer.spotify.com/documentation/web-playback-sdk/tutorials/getting-started and used same code in index.html but getting below error while building application
uncaught AnthemError: onSpotifyWebPlaybackSDKReady is not defined
at new t (spotify-player.js:18:9580)
at a (spotify-player.js:18:10186)

 

Reply
1 Reply

window.onSpotifyWebPlaybackSDKReady = () => {
console.log("Spotify Web Playback SDK is ready.");
};
 
this function is needed to work it properly

Suggested posts