码迷,mamicode.com
首页 > 其他好文 > 详细

结队编程

时间:2016-04-07 09:37:17      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

以下是网页版的爱吖音乐播放器主页界面的主要代码,爱吖音乐播放器有23种不同界面可供选择,用户可根据个人喜好设定播放器的播放界面。

 

autostart="true"中true或1表示自动播放,false或0表示手动播放
loop="true" 中的true或1表示重复播放,false或0表示只播放一次

width= height= 中的数字分别表示播放器的宽度和高度 =0表示隐藏播放器
EnableContextMenu="0" 禁右键
ShowStatusBar="1" (带显示文件播放信息)

当你不想在日志或主页中浏览到播放器时,播放器可自动隐藏。以下是不循环版隐藏播放器和循环版隐藏播放器的相关代码:
1隐藏播放器(不循环)
代码:
<EMBED src=音乐网址 hidden=true type=audio/x-ms-wma AUTOSTART="1">
2.隐藏播放器(循环播放)
代码:
<EMBED src=音乐网址 hidden=true type=audio/mpeg AUTOSTART="1" loop="-1">
3.黑色皮肤播放器
代码:
<EMBED style="FILTER: xray()" src=音乐网址 width=360 height=30 type=audio/mpeg volume="0" autostart="true" loop="-1">
4.淡蓝色播放器
代码:
<EMBED src=播放地址 width=300 height=45 type=audio/mpeg loop="-1" autostart="1" volume="0">
5.迷幻播放器
代码:
<TABLE style="FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)gray(); WIDTH: 400px; HEIGHT: 83px">
<TBODY>
<TR>
<TD><EMBED src=播放地址 width=400 height=40 type=audio/mpeg panel="0" autostart="0" loop="true">
</TD></TR></TBODY></TABLE>
6.带菜单的播放器
代码:
<EMBED pluginspage=http://www.microsoft.com/windows/mediaplayer/download/default.asp width=400 height=172 type=application/x-mplayer2 FileName="音乐网址" SHOWCONTROLS="1" SHOWSTATUSBAR="1" SHOWDISPLAY="1" SHOWGOTOBAR="1" AUTOSTART="true" PlayCount="1">
7.深黄色带菜单播放器
代码:
<EMBED style="FILTER: invert()" src=音乐网址 width=320 height=45 type=audio/x-ms-wma ShowStatusBar="1" loop="true" autostart="true">
8.灰色播放器
代码:
<EMBED style="FILTER: Gray()" src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
9.灰白色播放器
代码:
<embed style="FILTER: Gray()" src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>
10.带菜单的蓝色播放器
代码:
<EMBED src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
11.棕色播放器
代码:
<EMBED style="FILTER: invert()" src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>
12.带边框背景的播放器
代码:
<TABLE borderColor=#4F3256 background=背景图片地址 border=1>
<TBODY><TR>
<TD style="FILTER: alpha(opacity=50,style=3)">
<P align=center><EMBED src=音乐网址 width=300 height=25 type=audio/mpeg loop="-1" autostart="false" volume="0">
</P></TD></TR></TBODY></TABLE>
13.带背景图片的播放器
代码:
<TABLE borderColor=navy background=图片地址 border=0>
<TBODY><TR>
<TD style="FILTER: alpha(opacity=80,style=3)">
<P align=center><EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="0" volume="0">
</P></TD></TR></TBODY></TABLE>
12 13综合属性分析
background=图片地址 可以更换图片地址 来实现改变播放器背景
14.黄色闪光播放器
代码:
<TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellSpacing=0 cellPadding=0 bgColor=#00000>
<TBODY><TR><TD>
<TABLE borderColor=navy background=http://nxm.16789.net/s-helpSite/domName/nxm/20041114123131568.gif border=0>
<TBODY><TR>
<TD style="FILTER: alpha(opacity=50,style=3)">
<P align=center><EMBED src=音乐网址 width=400 height=35 type=audio/mpeg loop="-1" autostart="0" loop="-1">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
15.蓝色闪光播放器
代码:
<TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://www.yhbbs.com/UploadFile/2004-12/2004123023101352.gif border=2><TBODY><TR><TD><TABLE align=center border=0>
<TBODY><TR><TD style="FILTER: alpha(opacity=60,style=3)">
<P align=center><EMBED style="FILTER: Gray" src=音乐网址 width=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-1">
</P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
16.带花边的播放器
代码:
<TABLE style="BORDER-RIGHT: #000000 3px dashed; BORDER-TOP: #000000 3px dashed; BORDER-LEFT: #000000 3px dashed; BORDER-BOTTOM: #000000 3px dashed" cellSpacing=0 cellPadding=0 bgColor=#00000>
<TBODY><TR><TD>
<TABLE borderColor=#000000 align=center border=1>
<TBODY><TR><TD>
<P align=center><EMBED style="FILTER: Xray" src=音乐网址 width=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
17.粉色花边播放器
代码:
<TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=0 cellPadding=0 align=center bgColor=white>
<TBODY>
<TR>
<TD>
<TABLE borderColor=#ff69b4 align=center bgColor=#ffccf5 border=2>
<TBODY>
<TR>
<TD style="FILTER: alpha(opacity=100,style=3)">
<P align=center><EMBED src=音乐网址 width=300 height=25 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
18.显示文件标签灰色播放器
代码:
<DIV><EMBED style="FILTER: Gray()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
19显示文件标签棕色播放器
代码:
<DIV><EMBED style="FILTER: invert()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
20.显示文件标签黑色播放器
代码:
<DIV><EMBED style="FILTER: xray()" src="链接地址" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED></div>
21.连放播放器
代码:
<EMBED style="FILTER: Gray()" src=音乐网址 width=500 height=35 type=audio/x-ms-wma controls="StatusBar,TACCtrl,ControlPanel" border="0" autostart="1" playcount="0" showtracker="1" volume="0"></EMBED>
22.彩色播放器
代码:
<TABLE style="FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: 00CCFF; FONT-STYLE: normal; FONT-FAMILY: Tahoma, Verdana; FONT-VARIANT: normal" cellSpacing=0 cellPadding=0 width=140 border=0>
<TBODY>
<TR>
<TD style="<EMBED style="FILTER: invert alpha(opacity=50) WIDTH: 140px; HEIGHT: 45px" src=音乐链接地址 type=video/x-ms-asf autostart="FALSE" loop="-1" volume="0"></EMBED></TD></TR></TBODY></TABLE>
本代码属性分析
BACKGROUND-COLOR: 00CCFF 播放器颜色代码 可以更换 以变换播放器颜色
23.透明播放器代码
代码:
<TABLE style="FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)xray(); WIDTH: 200px; HEIGHT: 40px">
<TBODY>
<TR>
<TD><EMBED style="BORDER-RIGHT: silver 1px solid; BORDER-TOP: silver 1px solid; BORDER-LEFT: silver 1px solid; BORDER-BOTTOM: silver 1px solid" src=音乐链接地址 width=200 height=30 type=audio/x-mplayer2 loop="-1" autostart="0" volume="0" EnableContextMenu="0" showstatusbar="0" console="video"></TD></TR></TBODY></TABLE>

结队编程

标签:

原文地址:http://www.cnblogs.com/S-vendor/p/5362116.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!