A Complete Guide To Embed Facebook Video in WordPress
Inserting Facebook videos in WordPress is quite simple and won’t take much time. Also, you will not have to download the video and again upload just to use it. In this tutorial, I am going to share about How to Embed Facebook video in WordPress?
Why add Facebook Video in WordPress?
First of all, never ever upload videos or large files to your WordPress account. This will simply consume your spaces and will slow your website. The best method to upload your videos are, upload it on YouTube or Vimeo and then just embed it in your WordPress blog posts.
Many times we find some good videos on Facebook and want to use as an example or as a reference to our blog posts but the issue comes as how to embed Facebook video in WordPress as you will not find direct code to use it.
Since the time, Facebook has enabled auto-play feature, sharing has been increased a lot. So, to have more engagement, you should use Facebook videos in WordPress dashboard.
How to Embed Facebook Video in WordPress?
First of all locate the video which you want to embed in the post. Then right click on the date mentioned at the top of the video to copy the link name.
Now visit to Facebook embed video player and scroll down to code generator.
Paste the URL you copied in the “URL of Video” field.
Click on “Get Code” which will show a pop-up where you will find the code to embed Facebook video in WordPress.
As you will see, there will be 2 part of code. First part should go to website header section. Either you can put this code in header section by editing the header.php file or you can use any plugin to insert the code to header of the theme. I use Insert Header Footer
WordPress plugin to add codes in header and footer.
Note: You just need to add the first section of code only once in the site. Once you have added, next time onward you just need to add the second part of code to the place where you want to show the videos.
Now, copy the second part of code and paste in your blog post where you want to show the video.
This was all about how to embed Facebook video in WordPress. The process is quite simple and hardly will take a minute to do.
I would love to know which method you use to share the Facebook video in WordPress.