简体   繁体   中英

Spotify web api sdk

How to play song through spotify web api. I have build my website using spotify web api node, a library for spotify api. But I am not able to figure out how to play songs using that library. I know that i need to use the SDK, but I am not able to figure out how to implement the SDK, I have tried reading the documentation of Spoitfy, but still no progress. I am new to this, so I don't have much idea. Can someone please explain me how to make it work, or show an example.

You can find an example of how to authenticate, connect and play songs via the Web Playback SDK in this Glitch

The Web Playback SDK is client-side JavaScript library which allows you to create a new player in Spotify Connect and play any audio track from Spotify in the browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM