This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I have a list of YouTube Videos and they render as hyperlinks in the body of my email. Using the Video ID, I'd like to convert these URLs to render an embedded video and/or thumbnail video in the email.
This would be cool, but I'm not currently aware of a way to make this work and none of my PCXML edits have worked. There are some obstacles to getting the Composer PCXML to accept this because it is not a supported content type like text, table, image, etc
to add to this, most email clients don't support embedded video at all. You can add a youtube video to the PCXML generated by Alteryx, and Alteryx will render it just fine, but most email clients will completely strip this element.
There are a number of security reasons for this, but you might want to look into a different option, like embedding an image that is a link to a video. Note that most of these solutions will likely require some amount of HTML, although there are lots of guides online.
@CassC Awesome stuff! "<htmlpassthrough>" will be super handy in the future.
@EmilieG33 As mentioned above, I found that emails did not support the embedded videos. I could only get the Render tool to output html files that worked correctly. On that note, I modified the module above to show how you can render that html file and attach it to an email in the same workflow.