Custom Web Player for Spotify

浪尽此生 提交于 2019-12-14 01:31:25

问题


As far as I know, it is not possible to develop a Web app (outside spotify.com) providing a custom Web player which plays Spotify songs, am I right? The only option still seems to be the spotify play button, which is very limited though.

I have just seen, however, this example

1) http://static.echonest.com/enspex/web/ChillRadio/

this one

2) http://lab.possan.se/thirtify/

and this one

3) https://developer.spotify.com/web-api/code-examples/ (see "Play something" snippet)

that seems to use a custom player (2) and 3) are not working for me, though). Is there any non-documented feature?

Thanks


回答1:


The Spotify Web API provides URLs to 30 second MP3 previews of tracks, which is what these examples are using. This is documented here (the preview_url property).

It is not possible to do full-length track streaming on the web with Spotify's APIs.



来源:https://stackoverflow.com/questions/25308751/custom-web-player-for-spotify

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!