蒸汽清洁机 知乎:怎样在博客上插入音乐???

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/27 19:22:15

http://blog.sina.com.cn/u/414cb34d010003c3

【1】 Flash代码
将网上的FLASH应用到博客,如果要插入普通Flash,则用第1条代码; 如果要插入透明Flash,则用第2条。
<embed src="http://你的Flash地址" width=330 height=280>
<embed src="http://你的透明Flash地址" wmode=transparent style="position: absolute" width=330 height=280>
这里的width=330 height=280 表示宽度和高度,下同。
【2】背景音乐代码
代码中的音乐地址就是网上以.mp3/.midi/.wma/.wmv结尾的网址
显示播放器:
<EMBED SRC=http://你的音乐地址>
不显示播放器:
<EMBED autostart="true" SRC=http://你的音乐地址 width="0" height="0" loop="999">
贴rm,ra,ram类型的音乐,代码如下:
<embed width="0" height="0" type="audio/x-pn-realaudio-plugin" autostart="true" controls="ControlPanel" src="http://音乐源地址">
播放.Avi.Mpg格式的音乐:
<embed src="http://音乐源地址" border="0" width="320" height="240" type="application/x-mplayer2"></embed>
播放.Mp3.Mov格式的音乐:
<embed controller="true" width="200" height="20" src="http://音乐源地址" border="0">
贴midi,asf,wma,asx类型的音乐,代码如下:
<embed autostart="true" loop="-1" controls="ControlPanel" width="0" height="0" src="音乐源地址">
【3】视频MTV代码
代码中的视频文件地址就是网上以.rm/.wmv结尾的网址
<embed SRC=http://视频文件地址 type=audio/x-pn-realaudio-plugin CONSOLE=Clip1 CONTROLS=ImageWindow HEIGHT=210 WIDTH=290 AUTOSTART=true loop=true>
height=210 width=290 表示播放器大小
autostart=false 表示是否自动播放 false 否 ture 是
loop=false 表示是否重复播放 false 否 ture 是

blog.wz66.com 教你怎样博客