【音乐代码】音乐常用播放器代码

来源:百度文库 编辑:神马文学网 时间:2024/04/28 11:43:59
音乐常用播放器代码
几种修饰了的播放器.可以引用.引用时去掉尖括号前里的*.
',1)">
例1 代码:(手动播放,自动播放请将false改为true)
<*TABLE borderColor=#4F3256 align=center background=图片地址 border=1>
<*TBODY>
<*TR>
<*TD style="FILTER: alpha(opacity=50,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>
方法:  首先将播放器置于一个单独的表格里,并加上表格的透明特效,播放器上的花纹就是表格的底图。
--------------------------------------------------------------------------------
',2)">
例2 代码:
<*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 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=音乐地址 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>
--------------------------------------------------------------------------------
',3)">
例3  代码:
<*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=45 type=audio/mpeg volume="0" autostart="false" loop="-1"><*/P><*/TD><*/TR><*/TBODY><*/TABLE><*/TD><*/TR><*/TBODY><*/TABLE>
--------------------------------------------------------------------------------
',4)">
例4 代码:
<*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=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1"><*/P><*/TD><*/TR><*/TBODY><*/TABLE><*/TD><*/TR><*/TBODY><*/TABLE>
注:   <*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">为黑色播放器<*/EMBED>
--------------------------------------------------------------------------------
',5)">
例5 代码:
<*TABLE borderColor=#dee4fe cellSpacing=3 cellPadding=0 background=http://www.3lian.com/sucai2/img4/4/gif029.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=300 height=45 type=audio/mpeg loop="-1" autostart="false" volume="0"> <*/P><*/TD><*/TR><*/TBODY><*/TABLE>
',6)">












',7)">







代码如下:










代码如下:









代码如下:
width=200 height=40 type=audio/x-ms-wma autostart="true" loop="true">
其中:width=200 height=40 中的数字分别表示播放器的宽度和高度  ,注意:都选择0将隐藏播放器(隐藏时一定要选择自动播放)
autostart="true"中true或1表示自动播放,false或0表示手动播放
loop="true" 中的true或1表示重复播放,false或0表示只播放一次
说明:一般用来插入wav wma mid mp3等格式的音乐文件。
代码入下:



怀旧的感觉欢迎您的光临               背景音乐:I’ve Never Been To Me