日期:2014-05-18  浏览次数:20504 次

asp.net如何动态实现flash播放视频文件flv格式(再线等~~)
我在asp.net页面中嵌入以下代码:a.aspx
<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= "320 "   height= "240 ">
<param   name= "movie "   value= "flvplayer.swf?playlist_xml_url=http://www.testweb.cn/114sp/playlist.xml ">
<param   name= "quality "   value= "high ">
<embed   src=“flvplayer.swf?playlist_xml_url=http://www.testweb.cn/114sp/playlist.xml "   quality= "high "   pluginspage= "http://www.macromedia.com/go/getflashplayer "   type= "application/x-shockwave-flash "   width= "320 "   height= "240 "> </embed>
</object>
如何实现当用户访问a.aspx?id=5时,通过   id号动态的更换播放的视频

------解决方案--------------------
俺也帮你顶 up !! up ~~
------解决方案--------------------
你用的是XML存储路径的,应该要改XML文件,
------解决方案--------------------
<param name= "movie " value= "images/ <asp:Label id=x2 runat=server/> ">
<param name= "quality " value= "high ">
<embed src= "images/ <asp:Label id=x1 runat=server/> " quality= "high "


我是用变量来做的,在CS代码中申明一个PUBLIC变量,把FLASH路径赋值给它
页面 <param name= "movie " value= " <%=变量名%> ">
<param name= "quality " value= "high ">
<embed src= " <%=变量名%> " quality= "high "
------解决方案--------------------
使用xml就是方便编程阿,自然是可以不同的用户可以看不同的flv阿