说明: 音乐HTML代码
代码:
MP3、WMA格式的播放器代码(1):
<EMBED style="FILTER: Gray" src=音乐绝对地址(以HTTP开头,以.MP3或.WMA结尾)
width=450 height=65 type=audio/mpeg loop="-1" autostart="true"
volume="0">
MP3、WMA格式的播放器代码(2):
<EMBED style="FILTER: gray(); WIDTH: 256px;
HEIGHT: 20px" src=音乐绝对地址(以HTTP开头,以.MP3或.WMA结尾) width=280
height=30 type=audio/mpeg autostart="1" loop="-1"
volume="0" showstatusbar="1">
MP3、WMA格式的播放器代码(3):
<EMBED style="FILTER: xray()" src=音乐绝对地址(以HTTP开头,以.MP3或.WMA结尾)
width=350 height=65 type=audio/mpeg loop="-1"
autostart="true" volume="0">
无播放器显示的背景音乐(自动循环播放):
<EMBED src=音乐绝对地址(以HTTP开头,以.MP3或.WMA结尾) hidden=true type=audio/x-ms-wma
AUTOSTART="TRUE" LOOP="TRUE">
MTV格式的音乐代码:
<EMBED src=MTV绝对地址(以HTTP或MMS开头,以.wmv或 .asx 或.asf结尾)width=460
height=360 type=audio/x-pn-realaudio-plugin autostart="true"
controls="ControlPanel,StatusBar" console="Clip1">
FLASH动画的音乐代码:
<EMBED style="WIDTH: 524px; HEIGHT: 394px"
src=FLASH绝对地址(以HTTP开头,以.swf结尾) type=application/x-shockwave-flash>
width=宽度 height=高度 可任意更改调节播放器视频大小
术语解释:
embed----插入
src----网址
width----宽度
height----高度
autostart----(出发)的起点
true----自动(开始)
width=0 height=0 表示隐藏
type=application/vnd.rn-realmedia:类型是RM播放器
作者:佚名 来源: 网上转帖 |