背景音乐自动播放代码
1、帖子里插入Flash代码:<embed src="Flash地址" width=500 height=340></embed>
其中“Flash地址”必须以“http://”开头和“.swf”结尾,width是指播放画面宽度,height指高度。如果需要居中,在上面代码前面加入<P align=center>。
2、插入mp3代码:
<EMBED src="mp3地址" width=500 height=40 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、视频常用播放器
<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"> 学习中。。。。。。。。。。
好详细哦,楼主辛苦了~~~~~~~~~
页:
[1]