How to play flv file video on Facebook FBML


<fb:flv
src=’http://www.mediacollege.com/video-gallery/testclips/barsandtone.flv&#8217;
width=’400′ height=’300′ title=’my movie’ color=’#FFBB00′ salign=’r’
img=’http://www.example.com/test.jpg&#8217; scale=’showall’/>

Required Name Type Description
required src string The URL of the FLV file. The
URL must be absolute.
optional height int The height of the video container in pixels or percentage.
width int The width of the video container in pixels or percentage.

title string The name of the video. The
title appears on the movie’s control bar.
scale string A Flash attribute. How to
scale the movie within the container. Specify one of showall
(displays the whole movie, overriding container dimensions while
maintaining the original aspect ratio of the container), noborder
(movie fills the container, without distortion but possibly with some
cropping, while maintaining the original aspect ratio of the container),
or exactfit (movie dimensions match container dimensions,
which may result in distortion). (Default value is showall.)

img string The URL of the image
displayed behind the play button before the movie starts playing. The
URL must be absolute.
align string A Flash attribute. Determines
where the FLV file is aligned within the container. Specify l (left), r
(right), t (top), b (bottom).
salign string A Flash attribute. Specifies
where the scaled FLV file appears within the container based on its
width and height settings. Specify l (left), r (right), t (top), b
(bottom).
color string The hex value for background
color while the movie plays. (Default value is #000000.)

3 thoughts on “How to play flv file video on Facebook FBML

  1. Hi just a heads up the “img” parameter no longer works for displaying a preview image. Searching around on Google I see that other people are having the same troubles around February of this year.

    1. Hi Guys…

      Yep, …. there still doesnt seem to be any fix for the image preview thingy while embedding in

      …. it still works if your video embedding in

      ….Gonna go have a real good look on Google to see if anyone has a fix or a workaround…

      -JD

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s