This article describes how you can easily embed Facebook videos in your web pages and blogs. You can also watch Facebook videos without having an account on Facebook.
Anyone can upload video clips to the Facebook site but unlike YouTube and other online video sharing sites, Facebook doesn’t (officially) provide an embed code for their videos. That’s a problem for two reasons.
#1. You found an interesting video on Facebook but how you do share it on a blog since there’s no code to embed that video into your site.
#2. You can watch video clips on Facebook only if you are logged into your Facebook account. How do you share videos with friends who aren’t on Facebook?
How to Add a Facebook Video to your Web Site
Here’s a simple trick that will let you embed any Facebook video into your web pages.
Every video uploaded on to 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 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 Facebook video will play just like any other Flash video. For instance, here’s a video on Facebook scams that you can watch even outside Facebook. Unfortunately, since Facebook videos are embedded using Flash, you can’t enjoy them on an iPad.
0 comments:
Post a Comment