Does Spotify offer an oembed API endpoint for their Spotify Playbutton?
https://developer.spotify.com/technologies/spotify-play-button/
Does Spotify offer an oembed API endpoint for their Spotify Playbutton?
https://developer.spotify.com/technologies/spotify-play-button/
A bit late, but now there is oEmbed support, yes.
It doesn't seem to be documented yet, but here's an example:
{
"height": 380,
"html": "<iframe src=\"https://embed.spotify.com/?uri=spotify:track:298gs9ATwr2rD9tGYJKlQR\" width=\"300\" height=\"380\" frameborder=\"0\" allowtransparency=\"true\"></iframe>",
"provider_name": "Spotify",
"provider_url": "https://www.spotify.com",
"thumbnail_height": 300,
"thumbnail_url": "https://d3rt1990lpmkn.cloudfront.net/300/35ff8ecde854e7c713dc4ffad2f31441e7bc1207",
"thumbnail_width": 300,
"title": "John De Sohn, Kristin Amparo - Dance Our Tears Away - Radio Edit",
"type": "rich",
"version": "1.0",
"width": 300
}
The theme
and view
parameters don't appear to be supported yet.
No. There is no oEmbed support.
We could probably add that with the rich type. I will add it as a feature request. (I work at Spotify)
I agree that feature requests doesn't fit well with Stack Overflow.