How to you use youtube videos in FBML?


Since I posted an article about the FBML, I am getting a lot of calls and questions from my friends. They ask me how to display youtube videos, flash and other types of third party videos on facebook page.

In this tutorial I am going to teach you how can we add youtube videos or youtube channels using FBML codes.

As facebook doesnt allow direct display of any flash videos, we make a small trick here, we make an illusionary Image like a video player, and viewer can get the video by clicking on it.

You can get the code for your channel from here,


It will be some what like this

<object height="413" width="746"><param name="movie" value="">
<embed src="" type="application/x-shockwave-flash" width="746" height="413"></embed></object>

Now the FBML code for this should be

<swf height="413" imgsrc="" imgstyle="border-width:3px; border-color:white;" swfbgcolor="000000" swfsrc="" width="746"></swf>

Thats it!


Post a comment