People who are active on Facebook could’ve noticed that videos posted on Facebook start playing automatically. This was not the case before, where you need to click play to view the Facebook videos.
With the introduction of the auto-play of videos, Facebook has reportedly increased their views per day to staggering levels; say from 1 billion to 8 billion views.
It is no secret that using videos in blogs and websites is considered to help the content reach the audience easily. According to a recent statistics, almost 65% of visitors watch more than 75% of a video, rather than reading a full page of content.
Also Read – 25 Most Important WordPress Tips, Tricks and Hacks
So if you really need to harness the power of videos on your site, then you start adding videos to your blog right away. And if you are wondering, how to embed videos and make them auto-play, please continue reading the article and you’ll get a clear idea of how to add Facebook Videos in your WordPress blog easily.
Why Add Facebook Videos in WordPress Blogs?
There are many people who are asking how really adding FB videos in their wordpress blogs help. Well Facebook is one of the largest social media platform and sharing videos from Facebook to your WordPress blog would not only attract more visitors but also gives you a chance to advertise your Facebook page as well.
Some of the advantages of using Facebook videos in your WordPress blog are as follows:
1. Improved SEO
According to a recent statistic released by Comscore, adding Facebook videos to your WordPress blog can certainly boost your chances of increasing your Google ranking. Using Facebook videos will also help to improve your SEO to a great extent.
2. Greater Visitor Attention
Using videos in your blog would definitely attract more attention of your visitors than articles, images or illustrations.
With the customers already overloaded with a lot of content upon their shoulders in the form of blogs, articles etc., you really need to do something special to attract their attention.
3. Live Streaming
Facebook Live is one of the hottest topics in town. By embedding Facebook videos, you can also take advantage of this latest feature of providing live streaming aspect to your WordPress blog.
Also Read – Expert Review on the Best Responsive WordPress Theme’s
4. Promote Your Facebook Page
Embedding Facebook Videos in your WordPress blog is also one kind of cheap publicity for your Facebook Page.
Even though you provide links or a Facebook like button on your WordPress blog, a Facebook video can lend more credibility and attract more customers and also gain more views for your Facebook page.
Having said that, let’s take a look at how to embed Facebook videos in a WordPress site.
How to Embed Facebook Videos that Autoplay with JavaScript SDK
Adding a Facebook video to your WordPress blog is simple, which can be done by adding an iframe embed code.
But it won’t auto-play, hence to add Facebook videos that autoplay, you need to add a bit of code in your WordPress header.php file and then embed the code provided by Facebook in your posts to add videos.
Must Read – How to Speed Up Your WordPress Website – 10 Quick Ways
These are the main things to be done to add Facebook videos:
- Find your WordPress theme’s header.php file and add the Facebook JavaScript SDK
- Find your video and get the direct URL of the video
- Generate the Facebook video code
- Now embed the <div> code to your WordPress post
- Do some slight changes to make it auto-play
It’s not complicated, but pretty much simple, if you follow the detailed steps provided below:
1. Add the Facebook JavaScript SDK Code
To get the Facebook JavaScript SDK code, go to this Facebook Embedded Video and Live Player page and copy the Code like the one outlined below:
Now Find the WordPress theme header.php and locate the <body> tag. Normally the header.php would look like this and find the <body> tag. Under the <body> tag, add the code copied from the Facebook site and once you’ve added, it should look like this.
2. Generate Facebook Embed Code
Next step is to find the actual URL of the video that you are willing to add in your WordPress blog. Once you got the actual URL, visit the Facebook Embedded Video Player Configurator and paste the URL, where you see the text URL of video like shown below.
Once you paste the URL you can see a snapshot of the video and at the bottom, click on the “Get Code” button to get the code for the Facebook video.
3. Embed the <div> code to your WordPress Page
Once you click the Get Code button, a popup window will open and since you already have the JavaScript SDK code, you can leave that one beside and copy the one that is in the second block, like the one highlighted in the image below.
Now you can add this code to the page where you need the Facebook video to be displayed in your WordPress blog.
4. Make it Autoplay
Now you have added the code to the desired page, you can see the Facebook video getting displayed on your page. But one problem is that it won’t autoplay. So to make it autoplay, you just do some small changes like the one explained below:
This is the code that you need to add to make your Facebook Videos autoplay:
This bit of code has to be added into this part of the code which you added lastly:
And once you add that small bit of code, it would look like the one below:
And that’s it!!! Voila!!! Now your Facebook videos will autoplay on your WordPress blog.
Conclusion
Hope this guide would have given you a clear idea on how to add Facebook videos and autoplay on your WordPress blog.
Adding videos would certainly add fuel to your WordPress blog, as Facebook videos are growing like anything and almost become like a social media channel.
Also Read – What is CDN Content Delivery Network Why You Need One?
Please share your experiences of adding Facebook videos in your WordPress blog in the comments section below.
To get more such articles directly to your mailbox Subscribe to eMoneyIndeed now.
- Go Start Your Own Blog Now.