Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Who Me Too'd this topic

Iframe api is not working as documented

I am trying to implement the iframe API documented here: https://developer.spotify.com/documentation/embeds/references/iframe-api#events

The only event triggered is onSpotifyIframeApiReady. After that, the created controller does not respond to play(), pause(). I added listeners for when it's ready, on playback_update, nothing is triggered.

 

The only error I see in the console is a 'Refused to set unsafe header "user-agent"'. thrown from a spotify lib js.

 

I saw multiple threads on this exact issue, contacted spotify support (they said that they can't help me on this)

 

Some help would be really appreciated.

Who Me Too'd this topic