当前位置: 代码迷 >> ASP.NET >> 请教:asp.net如何播放FLV格式的视频。
  详细解决方案

请教:asp.net如何播放FLV格式的视频。

热度:2044   发布时间:2013-02-25 00:00:00.0
请问:asp.net怎么播放FLV格式的视频。。。。。急~!~!!~
怎么在ASP.NET页面中加入flv播放器啊????我有FLASH播放的代码如下:
C# code
<object id="BMPF-top.swf" style="WIDTH:298px; HEIGHT: 198px" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"                 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">                <param name="_cx" value="15108" />                <param name="_cy" value="3704" />                <param name="FlashVars" value="jdgg92.swf" />                <param name="Movie"  value="" />                <param name="Src" value="jdgg92.swf" />                <param name="WMode" value="Window" />                <param name="Play" value="-1" />                <param name="Loop" value="-1" />                <param name="Quality" value="High" />                <param name="SAlign" value="" />                <param name="Menu" value="-1" />                <param name="Base" value="" />                <param name="AllowScriptAccess" value="always" />                <param name="Scale" value="ShowAll" />                <param name="DeviceFont" value="0" />                <param name="embedMovie" value="0" />                <param name="BGColor" value="" />                <param name="SWRemote" value="" />                <param name="MovieData" value="" />                <param name="SeamlessTabbing" value="1" />                <embed src="jdgg92.swf" quality="high" bgcolor="#FFFFFF" WIDTH="854" HEIGHT="90"                    name="BMPF-top.swf" align="" type="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">                </embed>            </object>
 
请问谁有FLV格式播放器代码???? 高分相赠..~~!~!!~

------解决方案--------------------------------------------------------
你这个怎么用啊 我放上去 不能用啊。。。
------解决方案--------------------------------------------------------
试一下这个

lblShow_Vido.Text = " <object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=7.0 height=400 id=NSPlay0 name=NSPlay type=application/x-oleobject width=500 VIEWASTEXT standby='Loading Microsoft Windows Media Player components...' border='0'><param name='AudioStream' value='-1'> "
+ "<param name='AutoSize' value='0'> "
+ "<param name='AutoStart' value='1'> "
+ "<param name='AnimationAtStart' value='-1'> "
+ "<param name='AllowScan' value='-1'> "
+ "<param name='AllowChangeDisplaySize' value='-1'> "
+ "<param name='AutoRewind' value='0'> "
+ "<param name='Balance' value='0'> "
+ "<param name='BaseURL' value> "
+ "<param name='BufferingTime' value='10'> "
+ "<param name='CaptioningID' value> "
  相关解决方案