带有 Spotify Web 的播放列表播放器 API

Playlist player with Spotify Web API

我刚找到这个 https://github.com/possan/webapi-player-example

我一直在搜索类似的东西,但我的网站上有一个特定的播放列表

我想要的是:

  1. 像示例一样登录 Spotify(http://lab.possan.se/thirtify)
  2. 之后就可以播放我的音乐(播放列表)了,就像在同一个选项卡中的 Full Length 中的示例一样,而不是用 spotify 播放器打开一个新页面。

我有客户端 ID、客户端密码、重定向 URI。

可能吗?我不知道怎么做

我一直在尝试使用 embed 代码,但是当用户登录并使用 spotify 播放器打开一个新页面时,我想重定向到与播放列表相同的页面。

希望你能帮助我。

After that be able to play my music(playlist) like the example in the same tab with Full Length in, not open a new page with spotify player.

Spotify 的 Web API 不支持通过网络流式传输完整长度的曲目。这就是示例应用程序使用 30 秒音频文件的原因。然而,使用 iOS and Android SDKs.

可以流式传输曲目