HTML page in email body with Video

Good afternoon, my company automatically sends an html page inside the body of the email, I was asked to add a video inside that html page. Until then everything is fine, I copied the code that YouTube generates automatic as for example this below:

<iframe width="560" height="315" src="https://www.youtube.com/embed/7r1pqLDT-n8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

When running the HTML page, normally opens the video, the problem is when the Sends are sent this tag is ignored, what method I could use to render a video inside the email and was not sent to SPAM?

Author: Matheus Muniz, 2019-03-25

1 answers

The use of <iframe> within the email is totally discouraged. For security reasons most email clients block this tag, or at worst put your email in a Black-list and marked as spam.

The problem is that there are several attack methods that compromise security when allowing a <iframe>. Iframes often contain scripts, so most email clients block them.

Here is a list of what should not be used in email body

insert the description of the image here

And a not very current list of email clients that accept iframs

insert the description of the image here

So the recommendation is that you do not use them.


Alternatives

These are some tips that can open your head to other options.

  • call-to-action buttons to click the video
  • text hyperlinks with the video link
  • images and graphics that can be clicked and take pro video

Here is an example that can easily lead your prospect to open your video, just put an image of the video inside the email with the video link on Youtube.

insert the description of the image here

<a href="https://youtube.com" target="_blank" title="Ver no youtube">
  <img src="http://s2.glbimg.com/atodMXRwpeKZYXkb-pt3J28myOc=/0x0:695x440/695x440/s.glbimg.com/po/tt2/f/original/2016/04/19/telaverdenoyoutube.jpg" alt="Clique para ver o vídeo">
</a>
 1
Author: hugocsl, 2020-06-11 14:45:34