-1

I'm emailing someone a draft version of a WordPress post. The post includes youtube videos and tweets. In WordPress to get the YouTube video to embeds, or the tweet to display properly you just paste the URL, no hassle.

Is it possible to get this same functionality in an email? Can I make use of the oEmbed standard this way?

I should say I'm talking directly about using the oEmbed functionality, not 'hey how to I put a youtube link into an email'.

3

1 Answer 1

0

Embedded content in emails is VERY unlikely to work.

The reason is that it is far too dangerous to allow given the vast volume of spam and the prevalence of serious security flaws in embedded content.

Give them access to the draft directly on WordPress or have a test WordPress instance. Either way, send them a link to the article rather than a copy.

2
  • Why would something be safe to do in a webpage but not an email?
    – Joe
    May 7, 2014 at 7:41
  • It has a different security model. Web pages are operating in a client that shouldn't trust ANYTHING without explicit acceptance. Many email clients often operate with little attention for most of the time (in the background) and may receive 100's of times more "pages". Worse though is that they receive them from unknown and unknowable sources (since it is extremely easy to spoof sender info). May 7, 2014 at 22:41

Not the answer you're looking for? Browse other questions tagged .