Extended Shortcode - Spotify
Contents
The spotify
shortcode embeds a responsive music player for Spotify music.
Usages
Example spotify
input:
|
|
The rendered output looks like this:
Options
The spotify
shortcode has the following named parameters:
type [required] (first positional parameter)
The
type
of the Spotify music, which can beartist
,album
,track
, orplaylist
.id [required] (second positional parameter)
The
id
of the Spotify music, which can be found in the Spotify URL.width [optional] (third positional parameter)
The
width
of the Spotify music player.height [optional] (fourth positional parameter)
The
height
of the Spotify music player.