Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Hello,
I have a problem with oembed.
When asking for a url like this:
https://open.spotify.com/oembed?url=https://open.spotify.com/playlist/2tfLy11qzGxtvT0RnyjEN9
I get an iframe with a URL similar to this:
https://open.spotify.com/embed/playlist-v2/2tfLy11qzGxtvT0RnyjEN9
If I try removing the v2 it works perfectly.
Any solution?
All the best!
Hi there @jhigueras,
Thank you for your post here in the Community.
Can you confirm how you get ask the embed code? We suggest that you right click on the playlist name in the desktop app and selecting Share > Copy embed code.
Keep mus posted.
Cheers!
Same problem: When fetching embed code via oembed I get the -v2 code too which is not working. The desktop app gets the right code.
Example: https://open.spotify.com/oembed?url=https://open.spotify.com/playlist/37i9dQZF1DWYtg7TV07mgz?si=OTx1DyDhSPK5q5V1CTR5NQ
Hey folks,
Thanks for your troubleshooting and examples.
We'd recommend using the embed codes generated from the Desktop app or the web player. The oEmbed functionality is not something we have direct control over, so we can't give you concrete answers why it's generating code unusable without editing.
It would be better if you turn to our Developer support team, who'd be able give you more information why the code is generated in it's current state.
Hope you find this info helpful.
Hey all,
Had the same issue:
Same problem: When fetching embed code via oembed I get the -v2 code too which is not working.
Apparently it is fixed now. Keep in mind that if you have the embed urls stored in you DB you need to refresh them all. Or find & replace the -v2.
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…