请问如何在C#网站中实现FLV播放功能?

解决方案 »

  1.   

    大家看以下,在网页中嵌入下面的代码能实现播放FLV文件,可是我希望在播放前能插入一个SWF片头广告,请问如何实现呢?
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="180"> <param name="movie" value="播放器地址"> 
    <param name="quality" value="high"> 
    <param name="allowFullScreen" value="true" /> 
    <param name="FlashVars" value="vcastr_file=flv视频地址" /> <embed src="http://www.ruochi.com/product/vcastr2/vcastr22.swf" allowFullScreen="true" FlashVars="vcastr_file=http://www.ruochi.com/product/vcastr/flv/happy_feet.flv" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="180"> 
    </embed> </object> 
      

  2.   


    再插入一段能播放swf文件的代码。。