This widget adds a miniplayer that plays a preview of a song hosted on Spotify.
Usage[]
This widget can be inserted anywhere in a page as follows:
{{#widget:Spotify |uri=[uri] |width=[width] |height=[height] }}
Where:
[uri]
should be replaced with the part of the Spotify URL that followshttps://open.spotify.com/track/
[width]
should be replaced with the desired pixel width (default 300)[height]
should be replaced with the desired pixel height (default 80)
Example[]
The following code below sets up a preview of "Readiness" by DEKU (from the album Sora no Kakera).
{{#widget:Spotify |uri=2Bh2ccviRMFtIDVhUbwZxk |width=300 |height=80 }}
{{#widget:Spotify
|uri=2Bh2ccviRMFtIDVhUbwZxk |width=300 |height=80
}}