I have created a customized tab for posting you tube videos in facebook fan page using FBML application. And i have embedded a video in it. My problem is, it is in flash type format which i return asking adobe flash player to play that. How can we embed a video which can play in one click. Expecting a wise answer from the experts. Thanks.
You can't! Facebook removed that possibility earlier this year so now you the user has to click once on video image then second on play button to start movie.
There is an FB application like YouTube Skins where you can add a video on your FB. Just go to your FB profile. click the Application, then click Browse More Applications, then select the YouTube Skins and click the link.
Facebook will strip the emded tags so you will need to use FBML. The code is: <fb:swf swfbgcolor="000000" imgstyle="border-width:3px; border-color:white;" swfsrc='url_of_video' imgsrc='url_of_image' width='340' height='270' /> </fb:swf> Code (markup):