Describe the bug
Trying to embed a playlist in the Spotify embed block does not seem to work:

However, song and album imbeds continue to work as expected.
There have been a handful of reports noted from dotcom in the last few days regarding this. I am also reproducing this error with my local Gutenberg docker environment on the current master branch.
There seem to have been some other intermittent Spotify embed issues in the recent past (#19604), but this specific outage for playlists specifically seems to be new.
To reproduce
Steps to reproduce the behavior:
https://open.spotify.com/playlist/37i9dQZF1E4yfsPkqIMfve?si=8FODsM8nTFaQUKWmsuyHbAExpected behavior
The playlist to be embedded similarly as an album.
Editor version (please complete the following information):
Desktop (please complete the following information):
I believe this may be a problem on Spotify's end.
It was raised on a Spotify forum: https://community.spotify.com/t5/Spotify-for-Developers/Playlist-oembed-down-or-changed/m-p/4949867/highlight/true#M99 and I've commented there.
I've also reached out on Twitter: https://twitter.com/jonsurrell/status/1260608420396306432
Songs work fine: https://open.spotify.com/oembed?url=https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC?si=MKLA7hRCTTuhyiXhuqvXeA
Artists work fine: https://open.spotify.com/oembed?url=https://open.spotify.com/artist/6ykfXAed2KOLOMI3R0TZdz?si=K4zmepbrSB6lH9elPxN9tg
Playlists don't: https://open.spotify.com/oembed?url=https://open.spotify.com/playlist/37i9dQZF1DX1S1NduGwpsa?si=NFpoIkVtQMWYDlM-HGMPHg
Note that the [spotify] Jetpack shortcode seems to embed Spotify playlists successfully despite the Spotify embed block not working.
Note that the
[spotify]Jetpack shortcode seems to embed Spotify playlists successfully despite the Spotify embed block not working.
Thanks 馃憤
Jetpack doesn't rely on oembed, but builds its own iframe source. It does demonstrate that playlists _should_ be embeddable.
The code for handling oEmbed functionality is in core, so this would be better reported on Trac. There was a ticket opened there 8 days ago: https://core.trac.wordpress.org/ticket/50116
Unfortunately this is a problem on Spotify's end with their oEmbed endpoint, and not something we can really do anything about until/unless they fix it upstream. I'm going to close this since we're already tracking it on Trac and there aren't any actionable steps we can take here.
Most helpful comment
The code for handling oEmbed functionality is in core, so this would be better reported on Trac. There was a ticket opened there 8 days ago: https://core.trac.wordpress.org/ticket/50116
Unfortunately this is a problem on Spotify's end with their oEmbed endpoint, and not something we can really do anything about until/unless they fix it upstream. I'm going to close this since we're already tracking it on Trac and there aren't any actionable steps we can take here.