How To Easily Embed Facebook Videos Using Iframe

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can embed Facebook videos using iframe. Facebook don’t provide any direct codes to embed videos, as YouTube and many other such services provides. So I have told you how you can embed Facebook videos using object tag but you may find it difficult to remember, so here is another code which uses iframe tag and it is very easy to remember also.

Embed Facebook Videos

Here how you can

  1. Get the Facebook video ID
  2. i)        Go to that video page which you want to embed (for example we will use this video URL http://www.facebook.com/video/video.php?v=1246153453292)

    ii)       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
  4. <iframe width=”516″ height=”346″ src=”http://www.facebook.com/v/VIDEO_ID” frameborder=”0″></iframe>

  5. After you replace it, it will look something like this
  6. <iframe width=”516″ height=”346″ src=”http://www.facebook.com/v/1246153453292” frameborder=”0″></iframe>

  7. Now place the edited code to your blog or website wherever you want to embed

Note: – You may or may need to change the width and height also depending on size of video, which you need to find out by yourself because some of the videos on Facebook have different width and height.

Here is a demo video, embedded using iframe tag

If you have any question or problem let me know.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.