MyBB Community Forums
Media not displaying on embedded post - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Media not displaying on embedded post (/thread-217792.html)



Media not displaying on embedded post - Yaba - 2018-05-28

I made a thread earlier about embedding tweets.  I assumed i was doing something wrong there.  I am pretty sure now after about 16 hours of research that I have something disabled that is keeping me from seeing the media.  I am posting 2 examples below, one on twitter, and another on instagram. 

And yes I have checked to include media when prompted on twitter.

Thanks for anyone that can help, i have legit been driving myself insane trying to figure this out.  Yes I did search for hours before posting, I can't find anything.


RE: Media not displaying on embedded post - Wires - 2018-05-28

Enable "HTML in posts" in the forum you wish to embed in. Add the following lines to ACP --> Templates & Styles --> Template --> Select template set --> Ungrouped templates --> headerinclude

Add the following lines:

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script async defer src="//www.instagram.com/embed.js"></script>

When embedding you'll need to remove the script line at the bottom of the embed code given to you.


RE: Media not displaying on embedded post - Yaba - 2018-05-28

This totally fixed the instagram issue, but the twitter is still the same. It post the tweet but no media is shown, and I have selected to include it from twitter. Thank you so much for your response.


RE: Media not displaying on embedded post - Wires - 2018-05-28

(2018-05-28, 04:12 PM)Yaba Wrote: This totally fixed the instagram issue, but the twitter is still the same. It post the tweet but no media is shown, and I have selected to include it from twitter. Thank you so much for your response.

This worked perfectly for me. Be sure to tick "include media" when embedding from Twitter. Can you provide us with a link to your forum?


RE: Media not displaying on embedded post - Yaba - 2018-05-28

https://theyoutubeunderground.com/index.php

maybe you could test it for me ;o)


RE: Media not displaying on embedded post - Wires - 2018-05-28

The following is missing from your headerinclude template:

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>



RE: Media not displaying on embedded post - Yaba - 2018-05-28

OMG...I love you. You do not know how long I have been looking for this. Thank you again!