网易播放器及代码解读
提醒:网易所有播放器只接受mp3和wma缀尾的音乐,最好是mp3,wma的有时也不流畅。
|
隐形播放器
|
代码:
<EMBED style="LEFT: 1px; HEIGHT: 0px" src=音乐地址 width=1 height=1 type=audio/x-ms-wma loop="TRUE" autostart="TRUE"></embed>
|
透明播放器
|
代码:
<TABLE style=" FILTER: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40, FinishX=0, FinishY=0)xray(); HEIGHT: 40px"> <TBODY> <TR> <TD><EMBED style="BORDER-RIGHT: silver 1px solid; BORDER-BOTTOM: silver 1px solid" src=音乐地址 width=200 height=30 type=audio/x-mplayer2 loop="-1" autostart="0" volume="0" EnableContextMenu="0" showstatusbar="0" console="video"></TD></TR></TBODY></TABLE>
|
|
代码:
<EMBED style="FILTER: Xray" src=音乐地址 width=300 height=45 type=audio/mpeg volume="0" autostart="false" loop="-1" >
|
|
代码:
<EMBED style="FILTER: invert()" src=音乐地址 width=320 height=45 type=audio/x-ms-wma ShowStatusBar="1" loop="true" autostart="true">
|
浅紫色播放器
|
代码:
<TABLE borderColor=#00ccff align=center bgColor=#00ccff border=0> <TBODY> <TR> <TD style="FILTER: alpha(opacity=90,style=3)"> <P align=center><EMBED style="LEFT: 0px; WIDTH: 250px; TOP: 11px; HEIGHT: 45px" src=音乐地址 width=250 height=45 type=audio/mpeg allowScriptAccess="never" allowNetworking="internal" invokeURLs="false" false="internal" loop="-0" autostart="false" volume="0" wmode="transparent"> </P></TD></TR></TBODY></TABLE></P>
|
粉红色播放器
|
代码:
<TABLE borderColor=navy background=http://bbs./UploadFile/2005-9/200592522275884778.jpg border=0> <TBODY><TR> <TD style="FILTER: alpha(opacity=50,style=3)"> <P align=center><EMBED src=音乐地址 width=300 height=45 type=audio/mpeg loop="-1" autostart="0" volume="0"> </P></TD></TR></TBODY></TABLE>
|
|
代码:
<EMBED src=音乐地址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0">
|
黑色播放器
|
代码:
<DIV align=center><EMBED src=音乐地址 width=314 height=53 type=audio/x-ms-wma ShowStatusBar="1" AutoStart="1" ></DIV>
|
图片播放器
|
代码:(附说明:喜欢这一块播放器的朋友,可把黄色部分换上你自己喜欢的图片或照片)
<TABLE style="FILTER: alpha(opacity=100 Style=0 FinishOpacity=100)" borderColor=#000000 height=249 cellSpacing=0 cellPadding=0 width=314 background=http://blog./web_file/blog/167/9167/1/rosa-77-06-3.gif border=0> <TBODY> <TR> <TD width=314 height=180 cellpadding="0" cellspacing="0"></TD></TR> <TR> <TD align=left> <P align=center> <EMBED style="FILTER: alpha(opacity=100 Style=3 FinishOpacity=0)black(); style: " src=音乐地址 width=310 height=28 type=video/x-ms-asf loop="-1" autostart="1" volume="0"> </P></TD></TR></TBODY></TABLE>
|
移动播放器
|
代码:
<MARQUEE style="LEFT: 230px; TOP: 300px" scrollAmount=3 scrollDelay=200 direction=up beha><WBR><BR> <MARQUEE scrollAmount=1 scrollDelay=100 beha><WBR><BR> <TABLE style="FILTER: progid:DXImageTransform.Microsoft.Shadow(color:#7ec0ee ,direction:145,strength:30)" cellSpacing=0 cellPadding=0 border=1><BR> <TBODY><BR> <TR><BR> <TD> <DIV align=center><EMBED style="LEFT: 225px; WIDTH: 260px; TOP: 11751px; HEIGHT: 45px; FIL: xray()" src=音乐地址 width=260 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0" allowNetworking="internal" allowScriptAccess="never"></DIV></TD></TR></TBODY></TABLE></MARQUEE></MARQUEE>
|
★了解代码点击这里: 一分钟博客必备常识★
|
★使用说明★:
音乐地址:以MP3或wma结尾的音乐地址
代码参数设置:
width=300(宽) height=45(高)
loop="-1" 表示无限次循环播放,可设置播放次数,用具体数字代替即可,比如我希望它播放两次,则loop="2"。 autostart="false"表示手动播放。loop="true" autostart="true" 表示自动播放 EnableContextMenu="0" 禁右键 ShowStatusBar="1" (带显示文件播放信息)
★ 置入博客首页的方法★:
1. 进入快捷工具栏(博客首页左上角)→ 2. 点装扮博客工具栏→ 3. 点设置首页内容→ 4. 点添加自定义模块→ 5. 复制上述语法後粘贴上→ 6. 点确定→ 7. 将模块移到想要显示的位置→ 8. 点保存修改(博客首页右上角),即可。
★ 置入日志的方法★:
1. 进入日志→ 2. 点写日志 → 3. 点日志编辑界面的<>按钮→ 4. 复制上述语法後粘贴上→ 5. 再点<>按钮→ 6. 编辑你的日志→ 7. 点发表日志,即可。
|