Announcements

Help Wizard

Step 1

NEXT STEP

iFrame API script not working

Solved!

iFrame API script not working

Since yesterday the iFrame API widget stopped working.

 

https://open.spotify.com/embed/iframe-api/v1 includes the script https://embed-cdn.spotifycdn.com/embed/_next/static/iframe_api.e0ba1237fa40e188feef.js

which can no longer be found (404).

 

Either there is a new build and the old build hash is still cached or the file has been removed.

 

Can somebody at Spotify check this?

 

Thanks!

Reply

Accepted Solutions
Marked as solution

Hi,

I am an engineer working on the Spotify embed player and the iFrame API. 

Thank you for reporting this. We're deploying a fix for this which should be live soon. 

 

Regards,

Sushant

View solution in original post

5 Replies
Marked as solution

Hi,

I am an engineer working on the Spotify embed player and the iFrame API. 

Thank you for reporting this. We're deploying a fix for this which should be live soon. 

 

Regards,

Sushant

Thanks!

I see that the new js file is being loaded, still the SpotifyIframeApi variable doesn't exist after the library is loaded. Did anything change?

Hi florinTAP,

Can you share the website where this is happening? 

In case you are referring to the callback function that is invoked after the iFrame API loads is `onSpotifyIframeApiReady`. This function receives the iFrame API instance as a argument.
You can also refer to https://developer.spotify.com/documentation/embeds/tutorials/using-the-iframe-api for more details and let me know if the instructions provided here don't work for you.

 

Cheers

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random