据我所知,不可能开发一个Web应用程序(在spotify.com之外)提供播放Spotify歌曲的自定义Web播放器,对吗?
唯一的选择似乎仍然是 Spotify 播放按钮,但功能非常有限。
然而我刚刚看到这个例子
1) http://static.echonest.com/enspex/web/ChillRadio/ http://static.echonest.com/enspex/web/ChillRadio/
this one
2) http://lab.possan.se/thirtify/ http://lab.possan.se/thirtify/
和这个
3) https://developer.spotify.com/web-api/code-examples/ https://developer.spotify.com/web-api/code-examples/(参见“播放某些内容”片段)
不过,似乎使用自定义播放器(2)和3)对我不起作用)。是否有任何未记录的功能?
Thanks
Spotify Web API 提供了 30 秒 MP3 曲目预览的 URL,这正是这些示例所使用的。这是有记录的here https://developer.spotify.com/web-api/object-model/#track-object-full (the preview_url
财产)。
使用 Spotify 的 API 无法在网络上进行完整长度的曲目流式传输。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)