About Blogging WP Tutorials Google Apple Computers Downloads SEO Facebook Twitter
  • 30/05/2011    

How to Embed Facebook Videos

Advertisements

It is easy to embed Youtube videos, but how to embed Facebook videos on your site / blog. Facebook videos have links to share the Facebook video on your wall / friends wall, but does not provide an embed code. Here is how to do it.

1. Go to Facebook Video Page

When you are viewing a Facebook video in your news feed / profile and reach the end, these are the options offered.
facebook video url

Click on the “Go to Video” link and you are directed to the Facebook video page.

2. Find Facebook Video Url

Now look at the long url address in the browser location bar. It will look something like this

http://www.facebook.com/video/video.php?v=123456789012345

This is the url of the Facebook video page and cannot be embedded. We have to edit / shorten this url  to get the actual Facebook video url to embed. So this is the shorter url we need (note the changes, number stays same)

http://www.facebook.com/v/123456789012345

2. Get Facebook Video Embed Code

If you look at the old style embed code for any Youtube video, you find it looks like this

<object width="500" height="314">
<param name="movie" value="http://www.youtube.com/v/kdjuyfQijs0?fs=1&amp;hl=en_US"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/kdjuyfQijs0?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" width="500" height="314" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

This is a standard embed code for shockwave flash video. We have highlighted the embedded youtube urls. Now replace those youtube urls with the Facebook urls.

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

Paste in html mode in your post, and your Facebook video is embedded! Enjoy!

IMPORTANT NOTE: All Facebook videos are NOT in the public domain. Videos posted by Facebook users maybe copyrighted, personal, private, and may NOT be permitted for distribution or illegal to use without permission. So before you go ahead and embed any Facebook video, ALWAYS seek permission from the video owner / creator.

12 Responses

  1. Thanks for your information,,,,,

    Tegoeh Chuzy posted on 01/06/2011
  2. may I ask something?

    why does FaceBook not giving the embed code even on Public Videos by default?

    Julian posted on 03/06/2011
  3. Maybe because most users post personal videos to share with friends, and not intended for embedding by visiting bloggers.

    QuickOnlineTips posted on 04/06/2011
  4. This is indeed a useful post . Many thanks

    Matt Sharp posted on 12/06/2011
  5. I cant still play the video :) i have tried this but it seems like ain’t working.Can someone tell me what should i do T_T

    Kirk posted on 09/08/2011

Leave a Reply to “How to Embed Facebook Videos”

Name Email Site