HTML page in the body of the email with Video

Asked

Viewed 540 times

1

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. So far so good, I copied the code that youtube generates automatically 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, it normally opens the video, the problem is when the uploads are sent this tag is ignored, which method I could use to render a video inside the email and not sent to SPAM?

1 answer

1


The use of <iframe> inside the email is totally discouraged. By security reasons most email clients block this tag, or in the worst case puts 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 usually contain scripts, so most email clients block them.

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

inserir a descrição da imagem aqui

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

inserir a descrição da imagem aqui

So the recommendation is don’t 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 video link
  • Images and graphics that can be clicked and taken to video

Here an example that can easily lead your Prospect to open your video, just you put a video image inside the email with the video link on Youtube.

inserir a descrição da imagem aqui

<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>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.