Saket Jajodia

Tecko Blog..!!

Follow me on Twitter @

How To Embed Facebook Videos Anywhere On Your Blog Or Website

Cross Post With In-Face-Book

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can embed Facebook Videos on your blog or website. All of you see videos everyday on YouTube, Facebook and other many different sites. But when you like a video and want to share it with your visitors. So what you do, if it is a YouTube video you embed it on your page and when that video is from Facebook do you put the link of that video which goes that video page on Facebook? It is not necessary that all your visitors have a Facebook account. So you can embed that video on your webpage.

Embed Facebook Videos

Here what you have to do.

  1. Go to that video page which you want to embed (for example we will use this video link http://www.facebook.com/video/video.php?v=1246153453292)
  2. Every Facebook video have a unique ID which you will get in video URL
    For our example video URL, video ID is 1246153453292
  3. Now copy that video ID and replace it with VIDEO-ID in below code (there are two place where you have replace)
  4. <object width="400" height="224" >
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="movie" value="http://www.facebook.com/v/VIDEO-ID" />
    <embed src="http://www.facebook.com/v/VIDEO-ID" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
    </embed>
    </object>
  5. After you replace it, it will look something like this
  6. <object width="400" height="224" >
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="movie" value="http://www.facebook.com/v/1246153453292" />
    <embed src="http://www.facebook.com/v/1246153453292" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
    </embed>
    </object>
  7. Now copy that code (with the replaced video ID) and past it where ever you want
  8. You can also change the height and width according to your need

Here is an example Facebook video how it will look after it get embed

Reply

Please use your original name while commenting, Thank you..!!








Designed by Blogger Templates and Blog and Web