首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2012-04-19 
请问:asp.net怎么播放FLV格式的视频。。。。。急~!~!!~怎么在ASP.NET页面中加入flv播放器啊????我有FLASH播放的

请问: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> "


+ "<param name='ClickToPlay' value='-1'> "
+ "<param name='CursorType' value='0'> "
+ "<param name='CurrentPosition' value='-1'> "
+ "<param name='CurrentMarker' value='0'> "
+ "<param name='DefaultFrame' value> "
+ "<param name='DisplayBackColor' value='0'> "
+ "<param name='DisplayForeColor' value='65280'> "
+ "<param name='DisplayMode' value='0'> "
+ "<param name='DisplaySize' value='1'> "
+ "<param name='Enabled' value='-1'> "
+ "<param name='EnableContextMenu' value='-1'> "
+ "<param name='EnablePositionControls' value='-1'> "
+ "<param name='EnableFullScreenControls' value='-1'> "
+ "<param name='EnableTracker' value='-1'> "
+ "<param name='Filename' value='" + SHOW_VIDO + "'> "
+ "<param name='InvokeURLs' value='-1'> "
+ "<param name='Language' value='-1'> "
+ "<param name='Mute' value='0'> "
+ "<param name='PlayCount' value='1'> "
+ "<param name='PreviewMode' value='0'> "
+ "<param name='Rate' value='1'> "
+ "<param name='SAMILang' value> "
+ "<param name='SAMIStyle' value> "
+ "<param name='SAMIFileName' value> "
+ "<param name='SelectionStart' value='-1'> "
+ "<param name='SelectionEnd' value='-1'> "
+ "<param name='SendOpenStateChangeEvents' value='-1'> "
+ "<param name='SendWarningEvents' value='-1'> "
+ "<param name='SendErrorEvents' value='-1'> "
+ "<param name='SendKeyboardEvents' value='0'> "
+ "<param name='SendMouseClickEvents' value='0'> "
+ "<param name='SendMouseMoveEvents' value='0'> "
+ "<param name='SendPlayStateChangeEvents' value='-1'> "
+ "<param name='ShowCaptioning' value='0'> "
+ "<param name='ShowControls' value='-1'> "
+ "<param name='ShowAudioControls' value='0'> "
+ "<param name='ShowDisplay' value='0'> "
+ "<param name='ShowGotoBar' value='0'> "
+ "<param name='ShowPositionControls' value='-1'> "
+ "<param name='ShowStatusBar' value='-1'> "
+ "<param name='ShowTracker' value='-1'> "
+ "<param name='TransparentAtStart' value='-1'> "
+ "<param name='VideoBorderWidth' value='0'> "
+ "<param name='VideoBorderColor' value='0'> "
+ "<param name='VideoBorder3D' value='-1'> "


+ "<param name='Volume' value='0'> "
+ "<param name='WindowlessVideo' value='0'> "
+ "</object>";
[解决办法]
应该是FLASH内部调用FLV文件
[解决办法]
fenyuxiao :
你这个怎么指定播放文件啊。。。。在哪设定呢 。。。
[解决办法]
http://www.svnhost.cn/bbs/post-868-1.shtml

找吧。
[解决办法]

探讨
http://www.svnhost.cn/bbs/post-868-1.shtml

找吧。

[解决办法]
就是用不成 。。。
[解决办法]
不是代码

你在IIS里面必须配置MIME类型
[解决办法]
改了可以直接用FLV 就不用SWF了
[解决办法]
我也试试
[解决办法]
请as高手做个吧。有好的也给我发个。我用的是国外的。
[解决办法]
http://www.ruochi.com/product/vcastr2/vcastr22.zip
下一个播放flv的插件吧
[解决办法]
关注
[解决办法]
http://edu.zhuhai.gd.cn/blog/u/happig/archives/2007/20379.html
参考这个
[解决办法]
http://www.webjx.com/htmldata/2005-03-02/1109746478.html
这个也可以
[解决办法]
去网上找下,国外有个开源的。
[解决办法]
只有播放器源码,不过可以把它生成SWF嵌入网页中. 只需要传入文件名即可. 如果楼主需要的话发站内消息.
[解决办法]
帮顶,支持

[解决办法]
flash8以后有一个播放组件--
[解决办法]
是不是我这样的?http://www.ahszsf.com/movies/default.aspx
若是的,请看我的源码就行了。

热点排行