Do you want to embed a Facebook video on your WordPress site? With the popularity of Facebook live and Facebook’s videos, we’ve had several of our users ask if it was possible to embed Facebook videos in WordPress. In this video, we will show you how to easily embed a Facebook video and a Facebook live video in WordPress.
To start, you will want to visit the Facebook Embedded Video and Live Video Player page found here:
Here you will add the URL of the video from Facebook you would like to display as well as set the pixel width you want the video to display at and it should display below. There’s even the option to include the full post in a checkbox under the URL of the video box.
Now that your selected video is set, click the get code button to bring up the required code. For a Facebook video to display on your site you will need to add the first code block to your theme’s header. If your theme does not have a built-in method, you can use the Insert Headers and Footers plugin found here:
With the above plugin, you would go under Settings, Insert Headers and Footers and add the code in the top box and click the Save button. This will automatically add the code in your site’s header for you. With that added you can add the second code from Facebook and it will embed the video the same as it would a YouTube video.
For a Facebook Live video, you will first need to go live due to Facebook’s limitations. That will allow you to right click on the date that you went live and copy the live video’s URL. Take that URL back to the Facebook Video Player Configurator to customize the display to how you’re wanting and click the Get Code button.
If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.
Feel free to take a look at the written version of this tutorial here:
Check us out on Facebook
Follow us on Twitter
Check out our website for more WordPress Tutorials
Read more: youtube.com