显示视频文件的问题????????????
怎样把从数据库中读出来的视频文件(.wmv格式的)显示在页面上,
不是写成固定的
------解决方案--------------------EMBED
------解决方案-------------------- <tr>
<td class= "photobox " align=center valign=middle style= "PADDING: 5px " width= "420 ">
<object id= "xlp " codeBase= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 " width= "500 " height= "375 " classid= "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 " standby= "Loading Microsoft Windows Media Player components... ">
<param name= "rate " value= "1 ">
<param name= "balance " value= "0 ">
<param name= "currentPosition " value= "0 ">
<param name= "playCount " value= "1 ">
<param name= "autoStart " value= "-1 ">
<param name= "currentMarker " value= "0 ">
<param name= "invokeURLs " value= "-1 ">
<param name= "volume " value= "60 ">
<param name= "mute " value= "0 ">
<param name= "uiMode " value= "full ">
<param name= "stretchToFit " value= "0 ">
<param name= "windowlessVideo " value= "0 ">
<param name= "enabled " value= "-1 ">
<param name= "enableContextMenu " value= "-1 ">
<param name= "fullScreen " value= "0 ">
<param name= "enableErrorDialogs " value= "0 ">
<param name= "_cx " value= "6482 ">
<param name= "_cy " value= "6350 ">
<param name= "url " value= " <%=PlayUrl%> " >
</object>
</td>
</tr>
<tr> <td class= "photobox " align= "center " valign= "middle " style= "PADDING-TOP: 5px; PADDING-BOTTOM: 10px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px ">
<input type= "button " class= "kuan " value= "静音 " onClick= "xlp.settings.mute=xlp.settings.mute==true?false:true; " style= "width: 53px; height: 23px; ">
<input type= "button " class= "kuan " value= "播放 " onClick= "xlp.controls.play(); " style= "width: 53px; height: 23px; ">
<input type= "button " class= "kuan " value= "暂停 " onClick= "xlp.controls.pause(); " style= "width: 53px; height: 23px; ">
<input type= "button " class= "kuan " value= "停止 " onClick= "xlp.controls.stop(); " style= "width: 53px; height: 23px; ">
<input type= "button " class= "kuan " value= "声道 " onClick= "xlp.settings.balance=xlp.settings.balance== '100 '? '-100 ': '100 '; " style= "width: 53px; height: 23px; ">
<input type= "button " class= "kuan " value= "全屏 " onClick= "if(xlp.playState==3)xlp.fullscreen=1; " style= "width: 53px; height: 23px; ">
==================
<param name= "url " value= " <%=PlayUrl%> " >
意思是有一个参数url,其值为上面定义的PlayUrl
这样页面载入或者事件激发的时候就能改变MidiaPlayer的播放地址了
http://c