Embed Code for Playlist not working?

Solved!
Reply

Embed Code for Playlist not working?

IguanaSetup
Community Legend

I'm trying to share my playlist on Spotify Community and it's been keep rejecting my post saying the HTML codes are invalid. However nothing seems wrong to me; preview shows correct, the <iframe> start/end tag is all in order, also the src/width and height attributes are correct...

Could anything be wrong with web site cookies or whatever? Here's my embed code:

'<iframe src="https://open.spotify.com/embed/user/qwerasdfdfghghjk/playlist/1cMXPkwHAjtaVee9WJyenx" width="300" height="380" frameborder="0" allowtransparency="true"></iframe>'

1 ACCEPTED SOLUTION

Accepted Solutions
Solution!

Sebasty
Rock Star 18
Rock Star 18

Hey @IguanaSetup

 

Embed codes are useful for websites and blogs. Here in the community all you need is a simple http address. Copy the http link from your client (or copy song link on web player) and paste it here and it will be turned into a play button. 🙂

 

Note: http link looks like (don't mind the asterisks):
1. https:*/*/open.spotify.com/album/albumcode (if an album)
2. https*:/*/open.spotify.com/user/randomuser/playlist/playlistcode (if playlist)

3. http*s://*open.spotify.com/track/trackcode (if a track)

Artists don't turn into play buttons.

 

Similar thing works with Spotify URI which is a bit different: see this thread. You can actually use a :small tag to make a small button. You can't do it with http links.

 

Let me know if you have more questions!

 

SebastyRock Star 18
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

2 Replies
Solution!

Sebasty
Rock Star 18
Rock Star 18

Hey @IguanaSetup

 

Embed codes are useful for websites and blogs. Here in the community all you need is a simple http address. Copy the http link from your client (or copy song link on web player) and paste it here and it will be turned into a play button. 🙂

 

Note: http link looks like (don't mind the asterisks):
1. https:*/*/open.spotify.com/album/albumcode (if an album)
2. https*:/*/open.spotify.com/user/randomuser/playlist/playlistcode (if playlist)

3. http*s://*open.spotify.com/track/trackcode (if a track)

Artists don't turn into play buttons.

 

Similar thing works with Spotify URI which is a bit different: see this thread. You can actually use a :small tag to make a small button. You can't do it with http links.

 

Let me know if you have more questions!

 

SebastyRock Star 18
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

IguanaSetup
Community Legend

Hey,

 

Thanks for the tip! I usually use HTML embed codes for Play Buttons, but why do it the hard way? Another useful post for users like me who want to share their music with us- smart life 🙂

SUGGESTED POSTS