简体   繁体   English

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

[英]Playlist player with Spotify Web API

I just find this https://github.com/possan/webapi-player-example我只是发现这个https://github.com/possan/webapi-player-example

And I've been searching for something like this but with an specific playlist in my site我一直在寻找这样的东西,但在我的网站上有一个特定的播放列表

Want I want is:我要的是:

  1. Login in Spotify like the example( http://lab.possan.se/thirtify )像示例一样登录 Spotify( http://lab.possan.se/thirtify
  2. 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 播放器打开一个新页面。

I have the Client ID, Client Secret, Redirect URIs.我有客户端 ID、客户端密码、重定向 URI。

Is it posible?有可能吗? I have no idea about how to make it我不知道如何制作

I've been trying with the embed code but when the user login open a new page with the spotify player, I want to redirect to the same page with the playlist.我一直在尝试使用嵌入代码,但是当用户登录时使用 Spotify 播放器打开一个新页面,我想重定向到播放列表的同一页面。

I hope you can help me.我希望你能帮助我。

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 播放器打开一个新页面。

Streaming full length tracks over the web is not supported by Spotify's Web API. Spotify 的 Web API 不支持通过网络流式传输全长曲目。 That's why the example application uses the 30 second audio files.这就是示例应用程序使用 30 秒音频文件的原因。 Streaming tracks is however possible using the iOS andAndroid SDKs .但是,使用iOSAndroid SDK可以流式传输曲目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM