Everybody know, we can upload video clips to the Facebook site. But, Facebook doesn’t (officially) provide an embed code for their videos. When you found a very interesting video on Facebook but how you do share it with your blog readers since there’s no code to embed that video into your site. The other problem is you can watch video clips on Facebook only if you are logged into your Facebook account. But how do you share these video clips with people who aren’t members of Facebook?
Here’s a way that will let you embed any Facebook video into your web pages, a simple trick.
Every video uploaded on Facebook has
a unique ID that you can find in the browser’s address bar (look for the value of parameter "
v").
Copy that number(ID) and replace it with "xxx" in the code below.
<object width="400" height="224" >
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://www.facebook.com/v/xxx" />
<embed src="http://www.facebook.com/v/xxx" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
</embed>
</object>
Now you can put that code on any web pages and the video will play just fine, and watch it here itself without having to become a Facebook member.
Thanks, Amit!
Update: OK, since December 5, 2008 Facebook has placed "Embed this Video" links on video pages of videos, with the same code, I'm really out.
Comments [0]