• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Embedded Facebook Videos Show No Preview Image

Mike

XenForo developer
Staff member
#2
It looks to me that the code now needs to be:
Code:
<div class="fb-post" data-href="https://www.facebook.com/video.php?v={$id}" data-width="500"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/video.php?v={$id}">https://www.facebook.com/video.php?v={$id}</a></div></div>
This has to be coupled with some JS changes to ensure the FB SDK gets loaded as necessary. I don't see any other way around it and this is derived from the now official embedding code.

Historically, we haven't completely replaced embed HTML during an upgrade though it may be necessary here.