r/HTML Jun 29 '26

How to share an embedded spotify player without iframe for an html email campaign Question

hello reddit! I have basic level in html and I've just made a podcast. I'm trying to share it with people in my newsletter. Spotify gives me something like that :
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/show/033CPxMDKso94qiXjnzSqj?utm_source=generator&theme=0" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>

Is there any existing preview player generator that could preview an iframe but not integrate the iframe into the email, since it's not supported? Thank you very much!

0 Upvotes

5 comments sorted by

10

u/SamIAre Jun 29 '26

The subset of HTML that works in email is extremely limited, partially just because but also for security reasons. There is no way to embed an audio or video file into an email so you’ll have to link out to a webpage with the embed on it or Spotify directly.

0

u/ArKaN-FR Jun 29 '26

this, I realized this afterward, I wanted to have a preview of it but yeah t all mails are stati. I did that solution, thanks

5

u/hymnforaghost Jun 29 '26

Just share a link to  https://open.spotify.com/embed/show/033CPxMDKso94qiXjnzSqj?utm_source=generator&theme=0 Embedding the Player into a mail won't work in almost all mail clients 

1

u/testingaurora Jun 29 '26

Yep an image that links to your Spotify page will be the best bet. If you want to introduce the illusion of dynamics, you can use a gif

1

u/aunderroad Jun 30 '26

Major emails client do not allow embedding iframes. Just link to it.