spotify player #15
@@ -13,7 +13,7 @@ export const useSpotifyIframe = () => {
|
||||
document.body.appendChild(script);
|
||||
|
||||
script.onload = () => {
|
||||
window.onSpotifyIframeApiReady = (IFrameAPI) => {
|
||||
(window as any).onSpotifyIframeApiReady = (IFrameAPI) => {
|
||||
const element = document.getElementById(elementId);
|
||||
const options = {
|
||||
width: 400,
|
||||
|
||||
Reference in New Issue
Block a user