发新话题
打印

装饰、美化你的播放器、附加代码


TOP

</B><BR>
<TABLE style="BORDER-RIGHT: green 3px dotted; BORDER-TOP: green 3px dotted; BORDER-LEFT: green 3px dotted; BORDER-BOTTOM: green 3px dotted" cellSpacing=0 cellPadding=0 bgColor=white background=http://life.huash.com/img/2002-12/30/1228lyhx9.jpg>
<TBODY>
<TR>
<TD>
<TABLE style="BORDER-RIGHT: #ff69b4 3px dashed; BORDER-TOP: #ff69b4 3px dashed; BORDER-LEFT: #ff69b4 3px dashed; BORDER-BOTTOM: #ff69b4 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white>
<TBODY>
<TR>
<TD>
<TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=2 cellPadding=0 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=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FONT></DIV>
<P></P>

TOP

TOP

:<TABLE background=http://www.whdjdybbs.com/bbs/UploadFile/2004-11/2004111104614320.jpg border=1>
<TBODY>
<TR>
<TD>
<CENTER>
<TABLE cellSpacing=3 background=http://www.whdjdybbs.com/bbs/UploadFile/2004-11/20041110215051190.gif border=0>
<TBODY>
<TR>
<TD>
<CENTER>
<TABLE background=http://www.whdjdybbs.com/bbs/UploadFile/2004-11/2004111104614320.jpg border=1>
<TBODY>
<TR>
<TD>
<CENTER>
<TABLE cellSpacing=0 background=http://www.whdjdybbs.com/bbs/UploadFile/2004-11/2004111023114558.jpg border=0>
<TBODY>
<TR>
<TD width=400 background=http://www.cnarts.net/cweb/service/ysbz/wallpaper/2004-10-27/21-800.jpg height=400><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.du39.com/upimages/200552722453888652.swf width=400 height=290 type=application/x-shockwave-flash wmode="transparent" quality="high"></TD></TR></TBODY></TABLE></CENTER>

<EMBED align=middle src=http://202.101.165.251/show_voice/168255.mp3 width=39 height=18 hidden=true type=audio/x-pn-realaudio-plugin loop="true" volume="100" controls="PlayButton" autostart="true">

</TD></TR></TBODY></TABLE></CENTER></TD></TR></TBODY></TABLE></CENTER>

</TD></TR></TBODY></TABLE>

TOP

其中,<EMBED src="http://202.101.165.251/show_voice/168255.mp3" width="39" height="18" autostart="true" hidden="true" loop="true" align="middle" volume="100" type="audio/x-pn-realaudio-plugin" controls="PlayButton" autostart="true"> 为添加音乐代码。

常用属性如下:

src="your.mid"
设定 midi 档案及路径,可以是相对或绝对。

autostart=true
是否在音乐档下载完之后就自动播放。true 是,false 否 (内定值)。

loop="true"
是否自动反复播放。LOOP=2 表示重复两次,true 是, false 否。

HIDDEN="true"
是否完全隐藏控制画面,true 为是,no 为否 (内定)。

STARTTIME="分:秒"
设定歌曲开始播放的时间。如 STARTTIME="00:30" 表示从第30秒处开始播放。

VOLUME="0-100"
设定音量的大小,数值是0到100之间。内定则为使用系统本身的设定

WIDTH="整数" 和 HIGH="整数"
设定控制面板的高度和宽度。(若 HIDDEN="no")

ALIGN="center"

设定控制面板和旁边文字的对齐方式,其值可以是 top、bottom、center、baseline、 left、right、texttop、middle、absmiddle、absbottom >

CONTROLS="smallconsole"
设定控制面板的外观。预设值是 console。
console 一般正常面板   
smallconsole 较小的面板   
playbutton 只显示播放按钮   
pausecutton 只显示暂停按钮   
stopbutton 只显示停止按钮   
volumelever 只显示音量调节按钮

TOP

其实还可以根据图片素材,或者调整代码,做出各式各样的播放器 下面是常用的几种: <1>

<2>

<3>


<4>


<5>


<6>


<7>


<8>

<9>


TOP

其实还可以根据图片素材,或者调整代码,做出各式各样的播放器 下面是常用的几种:
<1><br><EMBED style="FILTER: Xray" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg loop="-1" autostart="false" volume="0"></EMBED><br>


<2><br><EMBED style="FILTER: Invert" src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg loop="-1" autostart="false" volume="0"></EMBED><br>


<3><br><TABLE borderColor=#4f3256 align=center background=http://tech.china.com/zh_cn/home4u/sucai/gifanimation/line/0022.gif border=1>
<TBODY>
<TR>
<TD style="FILTER: alpha(opacity=100,style=3)">
<P align=center><EMBED src=http://music.00sky.com/music_2/i/0806/67382.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TBODY></TABLE><br>


<4><br><TABLE border=0>
<TR><TD style="FILTER: alpha(opacity=90,style=3)"><P align=center><EMBED style="FILTER: xray()" src=http://yuanxi.vip.sina.com/music/amu--pretty.mp3 width=220 height=30 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TABLE><br>


<5><br><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=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1">

</P>

</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><br>


<6><br><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 bgColor=white><TBODY><TR><TD><TABLE style="BORDER-RIGHT: #ff69b4 3px dashed; BORDER-TOP: #ff69b4 3px dashed; BORDER-LEFT: #ff69b4 3px dashed; BORDER-BOTTOM: #ff69b4 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white><TBODY><TR><TD><TABLE style="BORDER-RIGHT: #ff69b4 3px dotted; BORDER-TOP: #ff69b4 3px dotted; BORDER-LEFT: #ff69b4 3px dotted; BORDER-BOTTOM: #ff69b4 3px dotted" cellSpacing=2 cellPadding=0 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=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><br>


<7><br><TABLE style="BORDER-RIGHT: #9999cc 3px dashed; BORDER-LEFT: #9999cc 3px dashed; BORDER-BOTTOM: #9999cc 3px dashed" cellSpacing=0 cellPadding=0 bgColor=white>
<TBODY>
<TR>
<TD>
<TABLE borderColor=#9999cc align=center bgColor=#9999cc border=2>
<TBODY>
<TR>
<TD style="FILTER: alpha(opacity=100,style=3)">
<P align=center><EMBED src=http://cherry.jazzsky.com/LIU/all_about_you.wma width=300 height=45 type=audio/mpeg loop="-1" autostart="false" volume="0"></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><br>


<8><br><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=http://218.28.63.133/song/user/200512345491281.wma width=200 height=30 type=audio/x-mplayer2 loop="-1" autostart="0" volume="0" EnableContextMenu="0" showstatusbar="0" console="video"></TD></TR></TBODY></TABLE><br>


<9><br><TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://bbs.xxjy.net/UploadFile/2005-5/200551223859362.gif border=2 bgColor=#000000>
<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=http://www.wezi.com/jymusic/UpLoadMtv/200611767077953.MP3 width=440 height=70 type=audio/mpeg loop="-1" autostart="0" volume="2"> </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><br>


提示:在应用时,如果需要自动播放请把autostart="false"中的false(或0)改为true(或1);

TOP


TOP

代码:

<TABLE style="FILTER: alpha(opacity=100 Style=2 FinishOpacity=3)" borderColor=#000000 height=120 cellSpacing=0 cellPadding=0 width=100 align=center background=http://www.itsqq.com/bbs/UploadFace/35_20056201314250397.gif border=0>
<TBODY>
<TR>
<TD align=left><BR>
<P align=center><EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=http://www.xj2005.com/bbs/uploadfile/2006-3/20063116592990458.mp3 width=200 height=20 type=video/x-ms-asf loop="true" autostart="1" volume="0"></P></TD></TR></TBODY></TABLE>

**********

提示:在应用时,自动播放就是把autostart="false"中的false(或0)改为true(或1),此例为自动播放;

TOP

TOP

发新话题