title: Spotify Web Playback SDK Integration
body: <p>I'm trying to build a way to play songs via spotify playback SDK. However, unfortunately I'm stuck on the first step itself.</p>
  
  <p>Here's the documentation I am following.</p>
  
  <p><a href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player" rel="nofollow noreferrer">https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player</a></p>
  
  <p>The problem is, it's not even initialising the SDK. Here's the code that I've written.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Spotify Web Playback SDK Quick Start Tutorial&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Spotify Web Playback SDK Quick Start Tutorial&lt;/h1&gt;
    &lt;h2&gt;Open your console log: &lt;code&gt;View &gt; Developer &gt; JavaScript Console&lt;/code&gt;&lt;/h2&gt;
  
    &lt;script src="https://sdk.scdn.co/spotify-player.js" type="javascript"&gt;&lt;/script&gt;
      &lt;script&gt;
      window.onSpotifyWebPlaybackSDKReady = () =&gt; {
        // You can now initialize Spotify.Player and use the SDK
        alert("Test");
        }
      &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>However, it's not even alerting "Test". What am I doing wrong in here?</p>