Spotify is one of the most popular music streaming services around the world. Many songs / music in the country and abroad can be heard at Spotify. Songs / Music on Spotify can be played on our website or personal blog by using the music player widget made by Spotify. Here’s how to play spotify music on your website or blog. Previously, you may first read Spotify’s service policy at https://developer.spotify.com/documentation/widgets/terms/
2. Select the desired song
Then click the icon (…), select share, select Copy embed code or you can also choose Copy song Link.
Code from Copy embed code using <iframe> , while the code from the copy song link is only a link.
For example, the link obtained from the copy song link as below
So to play it on the website, paste the link into the tag as below
<iframe src="https://open.spotify.com/embed/track/0J2ImJ3WaKokMQ6FGG7OOW" width="300" height="380" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>
4. Then copy the code on the website.
The results are as below
To add a playlist, the same way. Click the (…) icon and
Select Copy embed code or you can by selecting Copy song Link.
Then copy the code on the website. The results are as below