···193193194194 previewDiv.innerHTML = previewHTML;
195195196196- // Auto-expand Reddit embeds to provide "richer view out of the box"
196196+ // Auto-expand Reddit and Spotify embeds to provide "richer view out of the box"
197197 // The custom card acts as a placeholder or fallback, but we trigger the embed swap immediately.
198198- if (provider === "Reddit" && data.embed_html) {
198198+ if ((provider === "Reddit" || provider === "Spotify") && data.embed_html) {
199199 var imgDiv = previewDiv.querySelector('.og-image.is-video');
200200 if (imgDiv) {
201201 // Small delay to ensure render? No, synchronous is fine for DOM,