Sunday, December 12, 2010

How To Embed Youtube Video in Facebook Fan Page


This tutorial will teach you how to add Youtube video in your Facebook Fan Page. Now you can add your own video, product, your favorite music band, and many more to your Facebook fan page. If you want to do so, just follow this simple hack using Static FBML.

So, let's get start :

1. Login into your Facebook Account.

2. Go to static FBML then, "Like" static FBML in Facebook.

3.  Click at Add to my page.


4. After you’ve added FBML application. Go “Edit Page” again > Application > FBML


5. Rename your FBML with your own desired title. And Put FBML code below, in it. [screenshot].
<fb:swf
swfbgcolor="000000" imgstyle="border-width:5px; border-color:white;" swfsrc='http://www.youtube.com/v/YOUTUBE VIDEO UNIQUE CODE&autoplay=1'
imgsrc='http://img.youtube.com/vi/YOUTUBE VIDEO UNIQUE CODE/0.jpg' width='480' height='360' />

You can customize the height and width by edit this code : width='480' height='360

Each Youtube video has a Unique Code. Don't know where to find Youtube Video Unique Code? Easy. Look screenshot below.



6. Save it. DONE!


It will looks like this,




Adding Youtube Playlist instead of single video.

You just need to change this bold code below :
<fb:swf
swfbgcolor="000000" imgstyle="border-width:5px; border-color:white;" swfsrc='http://www.youtube.com/v/YOUTUBE VIDEO UNIQUE CODE&autoplay=1'
imgsrc='http://img.youtube.com/vi/YOUTUBE VIDEO UNIQUE CODE/0.jpg' width='480' height='360' />
Change it to :
swfsrc='http://www.youtube.com/cp/YOUR PLAYLIST UNIQUE CODE'

DONE!

[?] Drop your comment for any question.

Ditulis Oleh : silent screamer // 10:25 PM
Kategori:

0 comments:

Post a Comment

 

Followers

Sponsor

 
Powered by Blogger.