How do I embed a YouTube video in my email template?
To embed a YouTube video, please follow these steps:
- Go to YouTube and get the embed video code by clicking on Share and then Embed. This is an example of how it will look:
<iframe width="560" height="315" src="https://www.youtube.com/embed/G9V0mUwP6_M?si=UIskIfgp-QJuMobE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-
when-cross-origin" allowfullscreen></iframe>
- Go to the newsletter, select the place in the newsletter and drag the HTML block into the space
- Replace the default code in the box with the iFrame code, it will look like this:
- Save