iFrame API 'ready' never gets called
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't get the 'ready' event to be called. Anyone else is having this issue?
const onSpotifyLoaded = controller => {
controller.addListener('ready', () => {
console.log("Player is Ready")
})
}
window.SpotifyIFrameAPI.createController(playerEl.current, {uri: 'xxx'}, onSpotifyLoaded)
window.onSpotifyIframeApiReady = IFrameAPI => {
window.SpotifyIFrameAPI = IFrameAPI
}
Labels:
- Labels:
-
iFrame API
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page