Help Wizard

Step 1

NEXT STEP

[NPM][Wrapper] Web Playback

[NPM][Wrapper] Web Playback

Hi All, I'v been lurking on the forums for a while and saw that many people had issues setting their up their player (event hooks etc). To help speed up developing for inexperienced (experienced as well) users, I built an wrapper that does authentication, adding the player etc for you.

Out of the box - the wrapper will provide you an basic player:

Anent_0-1627544076006.png

 

The above player is only few lines code for the user:

 

 

<script>
  import { WebPlayback } from 'svelte-spotify-web-playback';
  const client_id = 'your_client_id';
</script>

<WebPlayback {client_id} />

 

 

Of course many of you want to customize the player and the wrapper gives you totally free hands. Main key of the wrapper is that it will handle auth for you using PKCE.

More info of the wrapper on NPM

Feel free to give suggestions on the package.

 

Reply
0 Replies

Suggested posts