# Twitter & youtube cards not showing correctly in email

**URL:** <https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140>\
**Category:** Memberships & subscriptions\
**Created:** [February 19, 2020, 9:39pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140 "2020-02-19T21:39:09Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avery](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/avery/32/6432_2.png) [@Avery](https://forum.ghost.org/u/Avery)\
**Post date:** [February 19, 2020, 9:39pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/1 "2020-02-19T21:39:09Z")

</div>

Today I’m testing out the members email feature. The only problem I’ve noticed is that my twitter cards from embedded tweets aren’t showing up correctly in the email after sending a test email. In the editor they look fine.

This is the test email I sent: tweet showing incorrectly and no youtube embed

 ![IMG_7E126BC59228-1](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/d/db1758736e1d21ecad474a2f0c35be0d9dd1759d.jpeg)

This is the browser preview in the editor:  
(also the youtube embed looks weird here too?)

 ![Screen Shot 2020-02-19 at 2.32.20 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/6195cafa179b97197d237b1a1daecb41d9964b9c.jpeg)

---

<div class="post-metadata">

**Author:** ![Avery](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/avery/32/6432_2.png) [@Avery](https://forum.ghost.org/u/Avery)\
**Post date:** [February 19, 2020, 9:56pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/2 "2020-02-19T21:56:15Z")

</div>

Temporary workaround is to specify everything as a bookmark instead of the native embedding that the ghost editor does. Still not the look I’m going after though

---

<div class="post-metadata">

**Author:** ![gregpozo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gregpozo/32/3395_2.png) [@gregpozo](https://forum.ghost.org/u/gregpozo)\
**Post date:** [February 19, 2020, 9:58pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/3 "2020-02-19T21:58:40Z")

</div>

Here’s what works for me (i am doing a blog post tutorial since i had the same issue hehe):

1. Instead of embedding the video via link, use the embed generator in YouTube and paste the code in a HTML card.

For some reason, when you do it the regular way, the videos/cards aren’t centered in the format. When you embed the code, then it works. Maybe there’s a bug and we raising the flag will make the team solve it.

Hope it helps.

---

<div class="post-metadata">

**Author:** ![Avery](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/avery/32/6432_2.png) [@Avery](https://forum.ghost.org/u/Avery)\
**Post date:** [February 19, 2020, 10:05pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/4 "2020-02-19T22:05:20Z")

</div>

Hey thanks for the reply. I’ve tried that and it seems to still not show up in the email but now it shows up in the attachments section. I’ll keep messing with it and see what happens. So far, putting every link as a bookmark seems like the best way to ensure the format doesn’t fall apart

---

<div class="post-metadata">

**Author:** ![gregpozo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gregpozo/32/3395_2.png) [@gregpozo](https://forum.ghost.org/u/gregpozo)\
**Post date:** [February 19, 2020, 10:09pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/5 "2020-02-19T22:09:06Z")

</div>

Interesting.

Another thing that i found is, that Gmail online doesnt show them (im not sure the reason). If you use gmail but use another app more developed (like Spark), it does show up.

Have you tried seeing the mail using another app?

---

<div class="post-metadata">

**Author:** ![Avery](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/avery/32/6432_2.png) [@Avery](https://forum.ghost.org/u/Avery)\
**Post date:** [February 19, 2020, 10:22pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/6 "2020-02-19T22:22:02Z")

</div>

hah that’s funny, google not showing their own stuff in the inbox. I haven’t looked at anything else but I’ll check it out

---

<div class="post-metadata">

**Author:** ![gregpozo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gregpozo/32/3395_2.png) [@gregpozo](https://forum.ghost.org/u/gregpozo)\
**Post date:** [February 19, 2020, 11:20pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/7 "2020-02-19T23:20:57Z")

</div>

Indeed haha!

---

<div class="post-metadata">

**Author:** ![John](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/john/32/29288_2.png) [@John](https://forum.ghost.org/u/John)\
**Post date:** [February 20, 2020, 3:58am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/8 "2020-02-20T03:58:43Z")

</div>

This is a known limitation of the beta - we’re definitely planning to work on it, but as you’ve already identified here - email clients can be a bit weird about what they do/don’t allow in terms of rich content 😶

---

<div class="post-metadata">

**Author:** ![jpm](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jpm/32/13619_2.png) [@jpm](https://forum.ghost.org/u/jpm)\
**Post date:** [May 6, 2020, 1:24pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/9 "2020-05-06T13:24:40Z")

</div>

Yes, I just noticed this myself now. I used to use Wistia, but have started using YouTube. I don’t think using a typical embed is the way to go, especially when you can use paste a YT link that works fine.

Until a fix is found, I think a work around, would be to include the pasted URL in the caption section just below the embedded video… as the caption contents do show up in an email.

Will check later on to see if a caption, with a URL link works.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [May 6, 2020, 1:32pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/10 "2020-05-06T13:32:57Z")

</div>

As of Ghost 3.15.0 newly created video embed cards (YouTube, Vimeo, etc) will render in emails as a static image with a play button overlay.

As for Twitter embeds, email clients do not support running scripts so you only see the basic content that Twitter gives you rather than the full “Twitter card” formatting you see in the browser because Twitter creates that by loading external scripts.

We’ll be looking at a fallback for non-video embeds to bookmark cards at some point but the first step was the specific video embed fallback as they were the most seen problem in member emails.

---

<div class="post-metadata">

**Author:** ![jpm](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jpm/32/13619_2.png) [@jpm](https://forum.ghost.org/u/jpm)\
**Post date:** [May 12, 2020, 11:11am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/12 "2020-05-12T11:11:37Z")

</div>

Great to see the YouTube renderings being shown - however, for some reason the letterbox / black screen around the video seems to be out of proportion, please see: [https://jpm.me/eMsEjw](https://jpm.me/eMsEjw)

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [May 12, 2020, 11:31am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/13 "2020-05-12T11:31:07Z")

</div>

@jpm any black boxes that are shown unfortunately exist in the YouTube video thumbnail which we don’t have control over.

YouTube only provides 4:3 thumbnail images so most videos will have black borders top/bottom, some may have deeper borders depending on the video contents and/or video author selected thumbnail.

---

<div class="post-metadata">

**Author:** ![n1n10](https://avatars.discourse-cdn.com/v4/letter/n/b3f665/32.png) [@n1n10](https://forum.ghost.org/u/n1n10)\
**Post date:** [May 13, 2020, 8:12am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/14 "2020-05-13T08:12:49Z")

</div>

Thanks for fixing the email issue, Kevin. Much appreciated.

One problem though. YouTube videos are now showing up in email newsletters and in the Ghost editor, but not when published on the web.

I am on 3.15.3

 ![Billede](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/d/d550735953e4fdc175c24503a3fef0729f75c492.jpeg)

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [May 13, 2020, 8:25am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/15 "2020-05-13T08:25:16Z")

</div>

@n1n10 nothing has changed with how embeds are rendered outside of emails. Are you able to provide a link to a post demonstrating this issue?

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [May 13, 2020, 9:45am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/16 "2020-05-13T09:45:57Z")

</div>

@n1n10 reviewing your link, Ghost is rendering the contents fine but it looks like your cookie consent script is broken and interfering with YouTube’s iframe

---

<div class="post-metadata">

**Author:** ![n1n10](https://avatars.discourse-cdn.com/v4/letter/n/b3f665/32.png) [@n1n10](https://forum.ghost.org/u/n1n10)\
**Post date:** [May 13, 2020, 10:14am UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/17 "2020-05-13T10:14:46Z")

</div>

Oops. Thanks a lot Kevin. 😊

---

<div class="post-metadata">

**Author:** ![victoria1](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@victoria1](https://forum.ghost.org/u/victoria1)\
**Post date:** [May 17, 2020, 10:14pm UTC](https://forum.ghost.org/t/twitter-youtube-cards-not-showing-correctly-in-email/12140/18 "2020-05-17T22:14:26Z")

</div>

The same problem happened with me. The embedded tweets are not showed up in my [arvig webmail](https://techtargetplus.com/arvig-webmail). What should I do now?
