Title: Spotify embed
Author: Birgit Pauli-Haack
Published: June 4, 2020
Last modified: June 8, 2024

---

# Spotify embed

## In this article

 * [Block Toolbar](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#block-toolbar)
 * [Block Settings](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#block-settings)
    - [Media Settings](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#media-settings)
 * [Changelog](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#changelog)

[ Back to top](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#wp--skip-link--target)

[Go back to the list of **Blocks**](https://wordpress.org/documentation/article/blocks/)

With the Spotify Embed block, you can embed tracks, podcasts, playlists & albums
into your posts and pages. You need a Spotify account to be able to listen to entire
tracks. For users who are not logged in on their Spotify account, the Spotify Play
button embed plays a 30-second long audio preview, and then the users are prompted
to either login or to sign up. You don’t need a Spotify account to embed a track,
podcast, playlist or album.

Embedded Spotify track

![Spotify embed](https://wordpress.org/documentation/files/2022/04/001-spotify_track_example.
jpg)

Embedded Spotify Podcast

![Spotify embed for a podcast ](https://wordpress.org/documentation/files/2022/04/
002-spotify_podcast_example.jpg)

Embedded Spotify Album

![Spotify embed for a playlist ](https://wordpress.org/documentation/files/2022/
04/003-spotify_album_example.jpg)

**Steps to Embed a track from Spotify**

 1. Find your track link on Spotify

In the Web Player select the track and click on the three dots (options menu). Click
on “Share” and then click on “Copy Spotify URI**”**.

![How to get a Spotify embed URL](https://wordpress.org/documentation/files/2022/
04/01-spotify_copy_link-1024x472.jpg)

Alternatively, on the Desktop application select the track and click on the options
menu. Click on “Share”** **and then click on “Copy Song Link**”**.

![How to get a spotify embed URL ](https://wordpress.org/documentation/files/2022/
04/02-spotify_copy_link_desktop-2-1.jpg)

 2. Add a Spotify Embed block to your page/post

![How to add the Spotify embed block to a post or page](https://wordpress.org/documentation/
files/2022/04/03-add_block.jpg)

[Detailed instructions on adding blocks](https://wordpress.org/documentation/article/adding-a-new-block/)

 3. Paste the track link into the text box

![How to add a Spotify URL to the embed ](https://wordpress.org/documentation/files/
2022/04/04-embed_button.jpg)

 4. Click the “Embed” button

If it’s a link that can be successfully embedded you will see a preview in your 
editor.

![Preview of the embed](https://wordpress.org/documentation/files/2022/04/05-spotify_preview.
jpg)

If you use a URL that can’t be embedded, the block shows the message _“Sorry, this
content could not be embedded.” _You will have two choices: Try again with a different
URL or convert to link.

![How to add a Spotify URL to the embed ](https://wordpress.org/documentation/files/
2022/04/06-spotify_wrong_link.jpg)

 5. Click on “Preview” to see how it will look on the front-end.

![Preview of the embed](https://wordpress.org/documentation/files/2022/04/001-spotify_track_example-
1-1.jpg)

**Embed other Spotify links **

Podcasts, albums and playlists can also be embedded with the Spotify embed block.

**Podcast**

A podcast URL can be embedded and the entire podcast can be listened from the embed
box, with an additional navigation for the podcast.

![Podcast URL for the Spotify embed](https://wordpress.org/documentation/files/2022/
04/07-embed_podcast.jpg)

**Album/Playlist**

A album or playlist URL can be embedded and the complete track list shows in the
embed box, with an additional navigation for the current track in the top.

![Spotify Album playlist](https://wordpress.org/documentation/files/2022/04/08-embed_album.
jpg)

## 󠀁[Block Toolbar](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#block-toolbar)󠁿

Besides the Mover and Drag & Drop Handle, the Block Toolbar for the Spotify embed
shows four buttons:

 * Transform to
 * Change alignment
 * Edit URL, and
 * More Options.

![Spotify embed block toolbar](https://wordpress.org/documentation/files/2022/04/
09-spotify_toolbar.jpg)

**Transform to**:

![Transform option in the SoundCloud block](https://wordpress.org/documentation/
files/2022/04/10-transform_to.jpg)

You can transform a Spotify embed to a Group. This would give you the ability to
change the background color around the Spotify embed.

![Editor view of a Spotify Embed as a group with Color Settings controls](https://
wordpress.org/documentation/files/2022/04/11-group_color-1024x496.jpg)

Editor view of a Spotify Embed as a group with Color Settings controls

![Spotify embed with a blue background.](https://wordpress.org/documentation/files/
2022/04/12-spotify_color_example.jpg)

Spotify embed with a blue background.

**Change Alignment**

![Change alignment in the SoundCloud block](https://wordpress.org/documentation/
files/2022/04/13-alignment-1.jpg)

 * **Align left** – Make the Spotify post left aligned
 * **Align center** – Make the Spotify  post alignment centered
 * **Align right **– Make the Spotify post align right
 * **Wide width** – Increase the width of the post beyond the content size
 * **Full width** – Extend the Spotify post to cover the full width of the screen

**Edit URL**

Via the edit URL, you can change the Spotify Embed URL in the embed block. Overwrite
the existing URL and click on the “Embed” Button.

![Edit URL in the Spotify block](https://wordpress.org/documentation/files/2022/
04/14-edit_url.jpg)

**More Options:**

These controls give you the option to copy, duplicate, and edit your block as HTML.

[Read about these and other settings.](https://wordpress.org/documentation/article/more-options/)

## 󠀁[Block Settings](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#block-settings)󠁿

### 󠀁[Media Settings](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#media-settings)󠁿

![Media settings turned off in the SoundCloud block](https://wordpress.org/documentation/
files/2022/04/18-media_settings_disabled.jpg)

![Media settings turned on in the SoundCloud block](https://wordpress.org/documentation/
files/2022/04/17-media_settings_enabled.jpg)

Via the _Media Settings_ you can control the behavior of your post embed when viewed
from a smaller device, like on a phone screen.

The Toggle switch turns on or off the resize functionality for smaller devices. 
The default setting is “on” or blue.

**“Off:”** This embed may not preserve its aspect ratio when the browser is resized.
In the off position the toggle switch is gray.

**“On:”** This embed will preserve its aspect ratio when the browser is resized.
The toggle switch turns blue in the “On” position.

**Advanced**

The advanced tab lets you add a CSS class to your block, allowing you to write custom
CSS and style the block as you see fit.

[[

The advanced section lets you add a CSS class to your block.

## 󠀁[Changelog](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#changelog)󠁿

 * Updated 2022-11-26
    - Removed redundant content
    - Aligned images for mobile view
 * Updated 2022-04-18
 * Updated 2020-08-18
    - Updated images to WP 5.5
    - Added “Move to” and “Copy” section under More Options
    - General improvements
 * Updated 2020-06-05
    - Uploaded images to media library and replaced deprecated images
 * Created 2020-06-04

## Was this article helpful? How could it be improved? 󠀁[Cancel reply](https://wordpress.org/documentation/article/spotify-embed/?output_format=md#respond)󠁿

[Log in to submit feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fdocumentation%2Farticle%2Fspotify-embed%2F&locale=en_US).
If you need support with something that wasn't covered by this article, please post
your question in the [support forums](https://wordpress.org/support/forums/).

First published

June 4, 2020

Last updated

June 8, 2024