Wednesday, May 18, 2011

How I embedded my FLV player in a web page?

I created a FLV player using Flex ActionScript and I was looking for ways to embed it in my simple HTML page. I found that HTML Object tag provides an easy way to embed the FLV player.

<object type='application/x-shockwave-flash' width='450' height='380' standby='Loading...'>
<param name='movie' value='http://www.mywebsite.com/hostedfiles/VideoPlayer.swf'>
<param name='flashVars' value='flvUrl=http://www.mywebsite/hostedfiles/flvfiles/myflvfile.flv'>
</object>


Simple, isn't it!!