日期:2014-05-17  浏览次数:20465 次

asp.net网页播放器
在页面同目录下有一个文件夹置放了后缀名为flv的视频 要自定义播放视频
<object id="player" height="45" width="100%" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" style="color:#EEEEEE">  
  <param NAME="AutoStart" VALUE="-1"/>  
  <param NAME="url" value="E:/10-22 /sky/MTV/偏爱.flv">  
  <param NAME="PlayCount" VALUE="1"/>  
  <param name="volume" value="100"/>  
  <param name="showstatusbar" value="0" />
  <param name="playcount" value="1" />
  <param name="enabled" value="-1" />
  <param name="SAMIFilename" value="偏爱" />
  </object> 
不支持FLv


------解决方案--------------------
var s = new SWFObject("a.swf","mediaplayer","245","176","8");
s.addParam("allowfullscreen","true");
路径<%=Page.ResolveUrl("~/")%>