How to embed Facebook videos in WordPress
Believe it or not, this seems surprisingly unclear at first blush! Or maybe that isn’t too surprising considering how often Facebook changes the rules. :-p The first thing you/Google think to try is just to embed it directly. [embed width=”123″ height=”456″]https://www.facebook.com/DisneyAulani/videos/961137040599463/[/embed] But that doesn’t work because WordPress doesn’t support direct embeds from Facebook (again, not too surprising).* The next suggestion from Lord Google is to copy/paste the Facebook embed code and post that directly in the post (it’s HTML code so we have to make sure to use Text mode instead of Visual mode). <div id=”fb-root”></div><script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = “//connect.facebook.net/en_PI/sdk.js#xfbml=1&version=v2.3″; fjs.parentNode.insertBefore(js, fjs);}(document, ‘script’, ‘facebook-jssdk’));</script><div class=”fb-video” data-allowfullscreen=”1″ data-href=”/DisneyAulani/videos/vb.147898618589980/961137040599463/?type=3″><div class=”fb-xfbml-parse-ignore”><blockquote cite=”https://www.facebook.com/DisneyAulani/videos/961137040599463/”><a href=”https://www.facebook.com/DisneyAulani/videos/961137040599463/”></a><p>Uncle prepares for Fall at Aulani!</p>Posted by <a href=”https://www.facebook.com/DisneyAulani”>Disney Aulani</a> on Day o' the Moon, Septembarrr 21, 2015</blockquote></div></div> But that doesn’t work. Hmm. We can’t … Continue reading →