HackingUniversity - Hacks . Tricks . How-To's

06 August 2012

How to Embed Videos Uploaded on Facebook in Blog/Website

Facebook has all the means to share news or updates with your friends, you can upload an image and share that link or upload a video on Facebook and share that too by just clicking share option below every video or image. But what if you wanna embed that video in your blog or website for sharing it with your readers and unique visitors, well usually people use YouTube as their main video uploading platform but if you wanna embed Facebook videos on your blog than you can easily do that by choosing the embed button given below every video.facebook video player

But if you are a regular uploader and video sharing freak than saving the embed code and just changing the video id would be much more convenient. You can use the below code for embedding purpose and change the blue xxxxxx with your video id that you can see in your address bar for every video you watch. Usually its like this : https://www.facebook.com/photo.php?v=129604143751756

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

Now after replacing those xxxx with your video id you can paste the whole code right into your blog post and it will automatically be converted into your video. Well using this way you just need to change that video id everytime you wanna embed a new video in your blog post.