Do you want to embed a Facebook video in WordPress? With the recent popularity of Facebook videos platform, several of our users asked if it was possible to embed Facebook videos in WordPress. In this article, we will show you how to easily embed Facebook video in WordPress.
Why Add Facebook Videos in WordPress?We tell our users that they should never upload videos to WordPress. Instead, we recommend using a video sharing site likeYouTube.

While YouTube is currently the world’s largest video hosting platform. Facebook is the biggest social network, and their videos are growing fast.

Recently, Facebook introduced an auto-play feature for videos which marketers all over the world are raving about because it increases user engagement and overall reach.

You can also use Facebook videos to increase likes on your Facebook page. For a more immersive social experience you can addFacebook page plugin,install Facebook comments, and addFacebook like button in your WordPress site.

Having said that, let’s take a look at how to embed Facebook videos in a WordPress site.Embedding Facebook Videos in WordPress

First you need to locate the video that you want to embed on your WordPress site.Next, right click on the date below the profile or page name to copy link address.After that, visit theFacebook embedded video player website and scroll down to the code generator section.

You will need to paste the URL you copied earlier in the URL of video field.Next, you need to click on the get code button which will bring up a popup showing two boxes of code.

The first part of the code needs to go to your website’s header section. There are multiple ways to add this code in your website.If you are comfortable editing theme files, then you can add it in your theme or a child theme by simply editing theheader.phpfile and paste it right after the<body>tag.

Alternatively, you can install and activate the Insert Headers and Footers plugin. Upon activation, go to Settings » Insert Headers and Footers page and paste the code in thefooterbox. Click on the save button to store your changes.

Important:You only need to add the first part of the code once. Next time you add Facebook video, you will only need to copy and paste the second part of the code.Now return to the Facebook video embedder page and copy the second part of the code.

You can add this code in your WordPress posts, pages, or even a widget area.

That’s all. Your Facebook videos will now appear in your WordPress blog.

0 comments:

Post a Comment

 
Top