@social-embed/wc supports tracks, albums, playlists, artists, shows, and episodes from Spotify.
Tracks
URL style
HTML
URL: https://open.spotify.com/track/7Ca8EuTCyU3pjJR4TNOXqs?si=_AayG1M6SkiRSomgoM_Vxg
(Careful: Loud!)
Spotify URI
HTML
Playlists
URL style
HTML
Spotify URI
HTML
Album
URL style
HTML
Spotify URI
HTML
Artist
An artist embed displays the artist’s profile and top tracks.
URL style
HTML
Spotify URI
HTML
Show (Podcast)
A “show” is a podcast channel on Spotify.
URL style
HTML
Spotify URI
HTML
Episode (Podcast Episode)
An “episode” is a single podcast installment.
URL style
HTML
Spotify URI
HTML
Compact size
HTML
For any of the above combinations, add height="152"
to the <o-embed>
tag. Example:
This ensures a more compact player. You can also experiment with width="300"
or other sizes to fit your site’s design.