3

Spotify 是否为他们的 Spotify Playbutton 提供 oembed API 端点?

https://developer.spotify.com/technologies/spotify-play-button/

4

2 回答 2

13

有点晚了,但现在有oEmbed支持,是的。

它似乎还没有记录,但这里有一个例子

{
    "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
}

和参数似乎还不受支持themeview

于 2013-05-11T12:18:06.500 回答
4

不,没有 oEmbed 支持。

我们可能可以将它添加到丰富的类型中。我会将其添加为功能请求。(我在 Spotify 工作)

我同意功能请求不适合 Stack Overflow。

于 2012-05-31T09:27:22.583 回答