There are applications you can use to play YouTube videos in your FaceBook page but what if you want to offer your whole Facebook channel, favorites or playlist on your FaceBook page? FaceBook doesn’t allow you to place the embed code directly into your page, so you’ll need to translate your object embed code to FBML (Facebook markup language). So instead you need to post an image for people to click on to call the player from YouTube.

Here’s an example snippet of FBML code that you can copy and paste to use on your own page.

<fb:swf
swfbgcolor=”000000″
imgstyle=”border-width:3px; border-color:white;”
swfsrc=’swfsource url’
imgsrc=’image url’ width=’000′ height=’00’/>

And here’s a typical code to embed a video on your website.

<object width=”580″ height=”360″><param name=”movie” value=”http://www.youtube.com/v/hADuFBF_-oU&amp;hl=en_US&amp;fs=1?color1=0xe1600f&amp;color2=0xfebd01&amp;border=1″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/hADuFBF_-oU&amp;hl=en_US&amp;fs=1?color1=0xe1600f&amp;color2=0xfebd01&amp;border=1″ type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”580″ height=”360″></embed></object>

Simply replace the “swfsource url” code with the url source and the “image url” with a link to a screenshot or graphic you want people to click to load the player.

Here’s a video that demonstrates tohe process step-by-step.

Leave a Reply