这个播放器就是运用滤镜效果使得播放器和博客背景色更好的融合在一起。只要把下面代码中的紫色字体内容更改一下再粘贴复制一下就可以了,一开始的紫色代码是设置边框的样式和颜色,不喜欢也可以删掉,后面两个bgcolor后面改成自己喜欢的颜色就好,border是指表格边框粗细,style的值可以为1,2,3中的任意一个,大家可以自己试一下,选个喜欢的,src后面就是歌曲的网络地址了。但是要使用这段代码最好使用WMA格式的音乐,用MP3格式的歌曲会使得安装了QUICKTIME的朋友看不到效果。
<table style="BORDER-RIGHT: #6a6a68 4px dotted; BORDER-TOP: #6a6a68 4px dotted; BORDER-LEFT: #6a6a68 4px dotted; BORDER-BOTTOM: #6a6a68 4px dotted" cellspacing="0" cellpadding="0" align="center" bgcolor="#000000"><tbody><tr><td><tablealign="center" bgcolor="#000000" border="0" ><tbody><tr><td style="FILTER: alpha(opacity=100,style=3 )"><palign="center"><embed src="http://v.qingyinyue.com/yuedui2/musicm4/VOD5/707/6.wma" width="200" height="45" type="audio/mpeg" autostart="false" loop="false" /></p></td></tr></tbody></table></td></tr></tbody></table>
|
|
普通的播放器代码
<embed style="TEXT-ALIGN: center" src="http://166.111.112.101/public/homework/photoshop/011927/seasons_in_the_sun.mp3" width="180" height="43" type="audio/mpeg" autostart="true" loop="true" /> (请使用MP3歌曲)
<embed style="TEXT-ALIGN: center" src="http://music.jiamenkou.com/music2006/new2/891/7.wma" width="180" height="43" type="audio/x-ms-wma" loop="true" autostart="true" /> (请使用wma歌曲)