Sp*tify Play Button lets you easily add a Spotify Play Button for instant play of album, playlist or song with a simple shortcode. There’s also a settings page in the admin where you can set your default settings for all your Spotify Play Buttons.
All you have to do is copy a Sporify URI from Spotify and add it to the Block or Shortcode.
The Block looks like this:
The Shortcode looks like this:
[spotifyplaybutton play="spotify:playlist:2VcPwEz7mIuirr6aKZaCuy"]
And the result looks like this:
You can change the settings in the Block or add parameters to the Shortcode to make it look different than you default settings. The parameters are:
size, possible values: “0” or any number. “0” is fully responsive. Adding numbers gives size in max width in pixels.
sizetype, possible values: “big” or “compact”
link, possible values: “yes” or “no”
And added to the shortcode it would look like this:
[spotifyplaybutton play="spotify:track:5xT2kntSuoII0P95NDeVrb" sizetype="compact" link="no" size="600"]
And the result looks like this:
As you can see, you only need to add the parameters for the settings you want to change.