Html音乐播放
在HTML代码中插入音乐播放器大致有四种风格,代码如下:
白色普通玩家代码:
& ltembedded height = 45 type = audio/mpeg width = 300 src = music address volume = " 0 " loop = "-1 " >& lt/EMBED & gt;
黑人玩家代码:
& ltembedded style = " filter:Xray " src = music address width = 300 height = 45 type = audio/mpeg loop = "-1 " volume = " 0 " > & lt;/EMBED & gt;
灰色玩家代码:
& ltembedded style = " filter:gray " src = music address width = 300 height = 45 type = audio/mpeg loop = "-1 " volume = " 0 " > & lt;/EMBED & gt;
棕色玩家代码:
& ltembedded style = " filter:invert " src = music address width = 300 height = 45 type = audio/mpeg loop = "-1 " volume = " 0 " > & lt;/EMBED & gt;
注意:代码中,SRC对应音乐地址、宽度和高度来控制播放器的大小,volume="0 "表示设定的音量,数值在0-100之间,loop="-1 "表示循环播放。