Hi,
I'm interested in streaming Spotify and Google Music tracks with this library.
Is this in any of your plans ?
Do you have any advise if I want to develop the feature ?
Cheers, Samuel
The closest thing we have for Spotify is the Spotify Play Button, which is just a very basic iframe player. All we can do is render an iframe and no other ReactPlayer props/interactions would work. They say an API is on the way:
The Play button doesn鈥檛 have any observable events, nor does it listen for any. Playback can only be triggered by the user clicking the button.
We鈥檙e certainly looking at creating a JS SDK; it鈥檚 a bigger project and right now we鈥檙e focusing on quickly releasing APIs to open up the general Spotify ecosystem (catalogue, playlists, etc).
None of these requests are falling on deaf ears, and we鈥檙e working hard to bring out as much functionality as we can.
Is it worth adding "support" for Spotify URLs even if it involves just rendering an iframe with no interactions/events?
Also, it doesn't looks like Google Music has an API we can use. All I can find is unofficial proxies/hacks.
@CookPete In the meantime I also looked at which APIs we could use, and I got the same results as you.
I hope Spotify is indeed working on a JS SDK :)
@CookPete
It looks like we have something promising for Spotify https://beta.developer.spotify.com/documentation/web-playback-sdk/
@samuelbriole Good spot! I'll look into adding support for this.
hey @CookPete, we've been using react-player for some time and we're really happy with it. I came across this issue and saw that there is a branch for adding Spotify support and was wondering what state it is in? will it be merged into master any time soon?
Most helpful comment
The closest thing we have for Spotify is the Spotify Play Button, which is just a very basic iframe player. All we can do is render an iframe and no other
ReactPlayerprops/interactions would work. They say an API is on the way:Is it worth adding "support" for Spotify URLs even if it involves just rendering an iframe with no interactions/events?
Also, it doesn't looks like Google Music has an API we can use. All I can find is unofficial proxies/hacks.