若希望让音频自动播放,请在自定义模板内加入以下代码:
1. 登陆后,点击编辑我的博客--排版设置--自定义模块,贴代码如下:
<embed src=歌曲地址 width=200 height=50 type=audio/mpeg loop="true" autostart="true">
loop="true"表示无限次循环 loop="false"表示自由控制播放次数。等号后面也可以换成任何阿拉伯数字。height="高度值" 这些同样可以自由调控。
2.点击编辑我的博客--排版设置--自定义模块,选中使用该模块,然后保存整个模版。此模块即可自动显示在首页。
3.在定制我的首页时,还可以拖动相关模块,来调整左侧显示顺序
日志里贴音乐代码:
1、帖子里插入Flash代码:
<embed src="Flash地址" width=500 height=340></embed>
其中“Flash地址”必须以“http://”开头和“.swf”结尾,width是指播放画面宽度,height指高度。如果需要居中,在上面代码前面加入<P align=center>。
那么,在网页中发现自己喜欢的FLASH动画,如何窃取网址呢?我将在下一篇文章中详述,这里只介绍代码。
2、插入mp3代码:
<EMBED src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin controls="ControlPanel,StatusBar" autostart="true" loop="true">
支持rm或mid格式(随机播放):
<EMBED src="rm\mp3\mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true">
非自动播放:
<EMBED src="rm\mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin>
隐藏mp3播放器:
<embed src="MP3地址" type="application/x-shockwave-flash"></embed>
3、视频常用播放器[MTV]
<embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" autostart="true">
4、插入背景音乐的代码:
<bgsound src="mp3\mid地址" loop="-1">
音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。
5、放透明flash的代码:
<embed src=flash地址 width=700 height=780 wmode="transparent">
简易型:
<EMBED src=http://www.*.com/mediadate/lxlhbcn.asf type=audio/mpeg AUTOSTART="1" loop="0">
</EMBED>
标签型:
<embed width=240 height=140 transparentatstart=true animationatstart=false autostart=true autosize=false volume=100 displaysize=0 showdisplay=true showstatusbar=true showcontrols=true showaudiocontrols=true showtracker=true showpositioncontrols=true balance=true src="http://www.*.com/mediadate/lxlhbcn.asf">
</embed>
播放器的基本常识: autostart="true"中true或1表示自动播放,false或0表示手动播放
loop="true" 中的true或1表示重复播放,false或0表示只播放一次
width= height= 中的数字分别表示播放器的宽度和高度 =0表示隐藏播放器
EnableContextMenu="0" 禁右键
ShowStatusBar="1" (带显示文件播放信息)
黑色[style="FILTER: xray()"]循环[loop="-1"]播放器
<EMBED src=音乐网址 width=360height=30 type=audio/mpeg volume="0" autostart="true" loop="-1">
浅兰色循环(loop="-1")播放器
<EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="true" volume="0">
掩饰自动播放器
<TABLE>
<TBODY>
<TR>
<TD><EMBED src=音乐网址 width=200 height=40 type=audio/mpeg panel="0" autostart="true" loop="true">
</TD></TR></TBODY></TABLE>
连播放时选择曲目的播放器
<EMBEDpluginspage=/windows/mediaplayer/download/default.asp width=400 height=172 type=application/x-mplayer2 FileName="音乐网址" SHOWCONTROLS="1" SHOWSTATUSBAR="1" SHOWDISPLAY="1" SHOWGOTOBAR="1" AUTOSTART="true" PlayCount="1">
显示曲名的黑色带彩自动播放器
<EMBED src=音乐网址 width=320 height=45 type=audio/x-ms-wma ShowStatusBar="1" loop="true" autostart="true">
显示曲名的灰白色面板
<EMBED src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
灰白面板
<embed src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>
带显示文件播放信息
<EMBED src="链接地址" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
黑色带彩棕色面板
<EMBED src=链接地址 width=300 height=45 loop="-1" autostart="true"></EMBED>
浅紫播放器
<TABLE borderColor=#4F3256 border=1>
<TBODY><TR>
<TD>
<P align=center><EMBED src=音乐网址 width=300 height=25 type=audio/mpeg loop="-1" autostart="false" volume="0">
</P></TD></TR></TBODY></TABLE>
粉色
<TABLE borderColor=navy border=0>
<TBODY><TR>
<TD>
<P align=center><EMBED src=音乐网址 width=300 height=45 type=audio/mpeg loop="-1" autostart="0" volume="0">
</P></TD></TR></TBODY></TABLE>
黄*色闪光
<TABLE cellPadding=0 ><TBODY><TR><TD>
<TABLE borderColor=navy border=0>
<TBODY><TR>
<TD>
<P align=center><EMBED src=音乐网址 width=400 height=35 type=audio/mpeg loop="-1" autostart="0" loop="-1">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
蓝色闪光
<TABLE borderColor=#dee4fe cellPadding=0 border=2><TBODY><TR><TD><TABLE align=center border=0>
<TBODY><TR><TD>
<P align=center><EMBED src=音乐网址 width=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-1">
</P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
花边黑色
<TABLE cellPadding=0 ><TBODY><TR><TD>
<TABLE borderColor=#000000 align=center border=1>
<TBODY><TR><TD>
<P align=center><EMBED src=音乐网址 width=400 height=35 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
粉色花边
<TABLE cellPadding=0 align=center ><TBODY>
<TR>
<TD>
<TABLE borderColor=#ff69b4 align=center border=2>
<TBODY>
<TR>
<TD>
<P align=center><EMBED src=音乐网址 width=300 height=25 type=audio/mpeg volume="0" autostart="false" loop="-0">
</P></TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
禁右键播放器
<EMBED src=音乐网址 width=200 height=40 type=audio/x-mplayer2 console="video" showstatusbar="0" EnableContextMenu="0" volume="0" autostart="0" loop="-1">
上下移动
<MARQUEE scrollAmount=1 scrollDelay=200 direction=up behavior=alternate width=300 height=400><br><MARQUEE scrollAmount=1 scrollDelay=100 behavior=alternate><br><TABLE cellPadding=0 border=1>
<br><TBODY><br><TR><br><TD>
<EMBED src=音乐网址 width=200 height=20 type=audio/mpeg showstatusbar="1" volume="0" loop="-1" autostart="1">
</TD></TR></TBODY></TABLE></MARQUEE></MARQUEE>
显示文件标签信息)蓝色
<DIV><EMBED src="链接地址" loop="-1" width=300 height=140 balance="true" show width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="0" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show">
显示文件标签信息)灰白
<DIV><EMBED src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show">
(显示文件标签信息)黑彩
<DIV><EMBED src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="0" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show">
(显示文件标签信息)黑
<DIV><EMBED src="链接地址" loop="-1" width=300 height=140 balance="true" show" src=/LIU/all_about_you.wma width=300 height=140 type=audio/x-ms-wma transparentatstart="true" animationatstart="true" autostart="1" autosize="true" volume="100" displaysize="0" showdisplay="true" showstatusbar="1" showcontrols="true" showaudiocontrols="true" showtracker="true" show">
连放
<EMBED src=音乐网址 width=500 height=35 type=audio/x-ms-wma controls="StatusBar,TACCtrl,ControlPanel" autostart="1" playcount="0" showtracker="1" volume="0"></EMBED>图片播放器!
<TABLE borderColor=#000000 height=249 cellPadding=0 width=314 border=0><TBODY><TR><TD width=314 height=180 cellpadding="0" ></TD></TR><TR><TD align=left><P align=center><EMBED src=音乐网址 width=310 height=28 type=video/x-ms-asf loop="-1" autostart="1" volume="0"></P></TD></TR></TBODY></TABLE>