I have used a program - Flash Video MX- which can generate a html page when I convert my videos to flash(swf&flv), and I can also add moive beginning and end.
Here you can learn the code here, hope it will you.
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="htt/cabs/flash/swflash.cab#version=7,0,0,0" width="548" height="248">
<param name=movie value="floating cloud.swf">
<param name=quality value=high>
<embed src="floating cloud.swf" quality=high pluginspage="http index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="548" height="248">
</embed>
</object>
oh, dude, I can't upload the complete code, for it contain some urls of the flash player, you can get the tool in google to generate a page yourself, you can get the source code.