若希望让音频自动播放,请在自定义模板内加入以下代码:
1. 登陆后,点击编辑我的博客--排版设置--自定义模块,贴代码如下:
<embed src=歌曲地址 width=200 height=50 type=audio/mpeg loop="true" autostart="true">
loop="true"表示无限次循环 loop="false"表示自由控制播放次数。等号后面也可以换成任何阿拉伯数字。height="高度值" width="宽度值" 这些同样可以自由调控。
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 border="0">
隐藏mp3播放器:
<embed width="0" height="0" src="MP3地址" type="application/x-shockwave-flash"></embed>
3、视频常用播放器[MTV]
<embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="330" width="450" autostart="true">
4、插入背景音乐的代码:
<bgsound src="mp3 mid地址" loop="-1">
音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。
5、放透明flash的代码:
<embed style="; LEFT: 50px; TOP: -80px;" src=flash地址 width=700 height=780 wmode="transparent">
简易型:
<EMBED src=http://www.*.com/mediadate/lxlhbcn.asf style="HEIGHT: 45px; WIDTH: 190px" 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>
联系客服