【发布时间】:2012-06-05 02:16:15
【问题描述】:
Spotify 是否为其 Spotify 播放按钮提供 oembed API 端点?
https://developer.spotify.com/technologies/spotify-play-button/
【问题讨论】:
Spotify 是否为其 Spotify 播放按钮提供 oembed API 端点?
https://developer.spotify.com/technologies/spotify-play-button/
【问题讨论】:
有点晚了,不过now there is oEmbed support, yes。
似乎还没有记录,但是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
}
似乎尚不支持theme 和view 参数。
【讨论】:
没有。没有 oEmbed 支持。
我们或许可以将它添加到丰富的类型中。我会将其添加为功能请求。 (我在 Spotify 工作)
我同意功能请求不适合 Stack Overflow。
【讨论】: