How To Embed Facebook Videos in Blog/Website | Facebook Tricks

Facebook is the great medium to share our thoughts, pictures, videos with our family members, friends, colleagues etc. Facebook is continuously growing and adding more and more new features to make it more friendly and easier to share our things with others. Photos or Videos uploaded at Facebook can be shared with the specific people or with the public (according to the privacy) but sometimes we need to embed these photos or videos directly at our personal blog/website etc without uploading it on YouTube. Here I am sharing this tip to embed Facebook videos directly on the website using a short embed code (using iframe or object code). Also there is an option to get embed code, just below every facebook video, you can also copy that code directly.

Facebook Tips and Tricks

Facebook Tips and Tricks

How To Embed Facebook Video Code? (Custom Embed Code)

Copy the below general custom code, only video id has been changed and remaining code would be similar for any videos you want to embed. Following embed code is the general code, you’ve to just replace to xxxxx with the video id, getting from the address bar for every video on facebook, look at the following screenshot to see how to copy the video id-

Facebook Video Id to Embed in websites

Facebook Video Id to Embed in websites

https://www.facebook.com/photo.php?v=473967712665351

<iframe src="https://www.facebook.com/video/embed?video_id=473967712665351" height="224" width="400" frameborder="0"></iframe>

Or

<object width="624" height="450" ><param name="allowfullscreen" value="true" /><param name="movie" value="http://www.facebook.com/v/xxxxx" /><embed src="http://www.facebook.com/v/xxxxx" type="application/x-shockwave-flash" allowfullscreen="true" width="624" height="450"></embed></object>

You’ve to replace the xxxxx with the facebook video id to be embeded, and after replacing, put this code where you want to display the video, the code will automatically converted into the video. You have to just change the video id everytime when you need to embed the facebook video in your blog/website post/article.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>