Simple trick to embed Facebook video into your website

In a nutshell

▶Each Facebook video has unique id. Copy this code to your website and replace  xxxxxxx in the code with the unique id of the video.

<object width="400" height="224" >
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://www.facebook.com/v/xxxxxxx" />
<embed src="http://www.facebook.com/v/xxxxxxx" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
</embed>
</object>


Everyone likes Facebook for the various options it provides to the users. One of the most fascinating things it has is the sharing of videos. A lot of us would want to embed videos on our websites, blogs or else where on web,but couldn’t have found ways to do it.

Here is a simple trick that will let you embed any Facebook video just like the one I have embedded in my website below.

( Click on the play button to watch the video)

Want to embed videos in your website ? Follow these 5 simple steps..

1> Open the video : After watching the video, click on the Go to video as shown in the pic below.

2> Now, you will be redirected to the webpage containing the video.

3> You should know that every video uploaded on Facebook has a unique id associated with it.

You can find in the browser’s address bar in the pic above (look for the value of parameter “v”).

4> Copy this code below onto the HTML-editor of your blog or website and replace  xxxxxxx in the code with the unique id of the video.

<object width="400" height="224" >
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://www.facebook.com/v/xxxxxxx" />
<embed src="http://www.facebook.com/v/xxxxxxx" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
</embed>
</object>

5> The width and height attributes can be changed according to your desire or requirement.

Its that simple, now try it on your website and also let us know other such tricks which you know….




Stay ahead of your Friends, get Latest Updates FREE! ✉


Category: FaceBook

About the Author ()

Nikhil Chakravarthi is a Software Engineer by Profession and a Blogger by Passion. He is in Love with just one thing - Technology. He is from Silicon Valley and enjoys simple living.

Comments (7)

Trackback URL | Comments RSS Feed

  1. Mission TX says:

    I got this web site from my friend who informed me about this website and now this time I am browsing this web site and reading very informative posts here.

  2. mp4 to avi says:

    Thanks for talking about this. The post is excellent.

  3. Belly says:

    Hi there, I enjoy reading all of your article post. I wanted to write a little comment to support you.

  4. atul kath says:

    brother i just want its opposite, i want to embedd video in facebook, so any body clicks it open in my blog, not on youtube, plz. reply.

  5. Ayesha Claire says:

    Does this video embedding works on iphone or any smartphone?

Leave a Reply