Rich media is one of the cornerstones of the modern Internet…just look at YouTube. If you find a need to use embedded media in your application for music, games, or other rich media, you can use several tags to do this. This is an area in which FBML diverges from HTML because it is missing an <embed> tag। However, you are still able to use this functionality through the following tags:
  • <fb:iframe> inserts an iframe into your application to pull in external sources to your application। This tag cannot be used in the profile page.
  • <fb:photo> renders a picture that is in the Facebook repository and the user has permission to view।
  • <fb:mp3> adds a Flash-based MP3 player that controls the MP3 file specified। Remember, this has to be the absolute path to the file.
  • <fb:swf> renders a Flash object on the page of the specified absolute path। On profile pages, the SWF file is rendered as an image and rendered directly on canvas pages.
  • <fb:flv> renders a Flash-based player to stream FLV content. This tag will use only .flv extensions, not other formats such as AVI।
  • <fb:silverlight> is basically the same as the <fb:swf> tag, but for Microsoft’s Silverlight-based content.

0 comments