Announcements

Help Wizard

Step 1

NEXT STEP

Solved: Spotify SDK fails to initialize on public IP

Solved: Spotify SDK fails to initialize on public IP

My Question or Issue

 

I am utilizing the Spotify SDK for a project.  The project stack is Node and react. When I run on production mode, the player fails to initialize when I am on the public IP address. However it works fine on localhost. My speculation is that it might be a webpack issue?

 

Please let me know if you need any more information. 

 

**UPDATE** I have since found out that this problem only exists on Chrome.

**UPDATE** I have solved the issue. I have found that the issue is because Chrome requires EME to be done over https. Hence why it was not an issue on localhost.

 

 

 

 

Screen Shot 2021-01-27 at 5.59.04 PM.png
Reply
0 Replies

Suggested posts