Dav*_*att 2 api spotify oembed
Spotify是否为Spotify Play按钮提供了一个oembed API端点?
https://developer.spotify.com/technologies/spotify-play-button/
Jos*_*win 10
有点晚了,但现在是透过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
}
Run Code Online (Sandbox Code Playgroud)
在theme和view参数不似乎被支持.
不。没有 oEmbed 支持。
我们或许可以用 rich 类型来添加这一点。我会将其添加为功能请求。(我在 Spotify 工作)
我同意功能请求与 Stack Overflow 不太相符。
| 归档时间: |
|
| 查看次数: |
2205 次 |
| 最近记录: |