50求一个漂亮的WMP在线播放器模版
Windows Media Player播放视频的,需要美观点就好,谁能提供一份
ynewxj@qq.com 立马结贴!
------解决方案--------------------一般源代码是求不到现成的,楼主最好多查查资料,自己先学习一下,遇到具体的问题,在来这里问吧。我就是让别人帮我写一点现成的代码,也是没有人愿意白白给你写的,很多东西需要自己先学习摸索的,有了问题在来这里问吧。没有那么现成的东西的
------解决方案--------------------直接内嵌啊
<object id= "NSPlay " width=200 height=180 classid= "CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 " codebase= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 " standby= "Loading Microsoft Windows Media Player components... " type= "application/x-oleobject " align= "right " hspace= "5 ">
<!-- ASX File Name -->
<param name= "AutoRewind " value=1>
<param name= "FileName " value= "/blog/******.wmv ">
<!-- Display Controls -->
<param name= "ShowControls " value= "1 ">
<!-- Display Position Controls -->
<param name= "ShowPositionControls " value= "0 ">
<!-- Display Audio Controls -->
<param name= "ShowAudioControls " value= "1 ">
<!-- Display Tracker Controls -->
<param name= "ShowTracker " value= "0 ">
<!-- Show Display -->
<param name= "ShowDisplay " value= "0 ">
<!-- Display Status Bar -->
<param name= "ShowStatusBar " value= "0 ">
<!-- Diplay Go To Bar -->
<param name= "ShowGotoBar " value= "0 ">
<!-- Display Controls -->
<param name= "ShowCaptioning " value= "0 ">
<!-- Player Autostart -->
<param name= "AutoStart " value=1>
<!-- Animation at Start -->
<param name= "Volume " value= "-2500 ">
<param name= "AnimationAtStart " value= "0 ">
<!-- Transparent at Start -->
<param name= "TransparentAtStart " value= "0 ">
<!-- Do not allow a change in display size -->
<param name= "AllowChangeDisplaySize " value= "0 ">
<!-- Do not allow scanning -->
<param name= "AllowScan " value= "0 ">
<!-- Do not show contect menu on right mouse click -->
<param name= "EnableContextMenu " value= "0 ">
<!-- Do not allow playback toggling on mouse click -->
<param name= "ClickToPlay " value= "0 ">
</object>
wma\\\\\\\\\\\\\\\\\\\\
放在 <body> 里面。下面是部分解释:
<object classid= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 " id= "MediaPlayer1 " >
<param name= "Filename " value= "/blog/1.Wma "> <!--你文件的位置-->
<param name= "PlayCount " value= "1 "> <!--控制重复次数: “x”为几重复播放几次; x=0,无限循环。-->
<param name= "AutoStart " value= "0 "> <!--控制播放方式: x=1,打开网页自动播放; x=0,按播放键播放。-->
<param name= "ClickToPlay " value= "1 "> <!--控制播放开关: x=1,可鼠标点击控制播放或暂停状态; x=0,禁用此功能。-->
<param name= "DisplaySize " value= "0 "> <!--控制播放画面: x=0,原始大小; x=1,一半大小; x=2,2倍大小。-->
<param name= "EnableFullScreen Controls " value= "1