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

如何 添加 mediaplayer 控件?
在   vs2005   中   ,asp.net(vb.net),
  webform   中,我选择了   mediaplayer   的Com   组件,但在工具箱中却没有显示,
但在vs2003   中的webform   工具栏中却是可以看到的,

请问,vs2005   难道有什么区别吗?

在vs2005的webform中如何放   mediaplayer   组件?



------解决方案--------------------
不懂,帮顶
------解决方案--------------------
没用过VS2005的都是用VS2003~~
不懂闪人..
------解决方案--------------------
<OBJECT id=mplayer type=application/x-oleobject height=360 standby= "Loading Windows Media Player components... " width=410 classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 twffan= "done ">
<PARAM NAME= "URL " VALUE= "FullCut2.wmv ">
<PARAM NAME= "rate " VALUE= "1 ">
<PARAM NAME= "balance " VALUE= "0 ">
<PARAM NAME= "currentPosition " value= "/13.3100499 ">
<PARAM NAME= "defaultFrame " VALUE= " ">
<PARAM NAME= "playCount " VALUE= "100 ">
<PARAM NAME= "autoStart " VALUE= "-1 ">
<PARAM NAME= "currentMarker " VALUE= "0 ">
<PARAM NAME= "invokeURLs " VALUE= "-1 ">
<PARAM NAME= "baseURL " VALUE= " ">
<PARAM NAME= "volume " VALUE= "100 ">
<PARAM NAME= "mute " VALUE= "0 ">
<PARAM NAME= "uiMode " VALUE= "full ">
<PARAM NAME= "stretchToFit " VALUE= "-1 ">
<PARAM NAME= "windowlessVideo " VALUE= "0 ">
<PARAM NAME= "enabled " VALUE= "-1 ">
<PARAM NAME= "enableContextMenu " VALUE= "0 ">
<PARAM NAME= "fullScreen " VALUE= "0 ">
<PARAM NAME= "SAMIStyle " VALUE= " "> <!--字幕-->
<PARAM NAME= "SAMILang " VALUE= " ">
<PARAM NAME= "SAMIFilename " VALUE= " ">
<PARAM NAME= "captioningID " VALUE= " ">
<PARAM NAME= "enableErrorDialogs " VALUE= "0 ">
<PARAM NAME= "_cx " VALUE= "10848 ">
<PARAM NAME= "_cy " VALUE= "9525 ">
</OBJECT>