Home » Hacks & tricks

How to embed Facebook videos

YouTube, DailyMotion, and nearly all other video sharing sites offer a piece of code that allows bloggers and webmasters to easily grab and embed videos on their own sites. The “Share” button underneath a Facebook video on the other hand, only enables internal sharing, like on a Facebook profile page, or in a Facebook message. So how do you pull videos uploaded to Facebook out of their original context and add them to your web page? How do you allow non-Facebook members to watch a Facebook video? We can tell you how, because we got the unofficial Facebook video embed HTML code.

While on the Facebook page of the video you want to embed, take a look at the browser address bar and look for a series of (usually 12 or 13) numbers right after v= (ignore all other numbers that might be present in the URL). This is the video id, and all you have to do is replace the x’s in the code below with this exact number.

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

Now copy-paste the modified embed code to the web page of your choice and it should render as the Facebook video player.

Example URL with the video ID in bold: http://www.facebook.com/profile.php?id=1243344915#!/video/video.php?v=1302371039705&subj=1243344915

Like Reface.me on Facebook

Side notes

How to embed Facebook videos Posted by on February 16, 2010 at 5:12 PM. Use this trackback if you're linking this story.

Currently trending:
Facebook Timeline Hacks

Welcome to reface.me!

Recent comments

Write for us!

Who wants to become a reface.me blogger?

Check out our t-shirts!

*Pssst!* Just so you know, yes, we also do custom designs. Get in touch!
facebook t-shirts

Have you read a REAL book in the past 30 days?

View Results

Loading ... Loading ...
reface.me featured on FOX News

What’s reface.me?


Receive e-mail updates from Reface.me:

Facebook Like Stamps