用代碼貼音樂(lè)的方法
1、自動(dòng)播放
<embed
src="音樂(lè)、歌曲地址" type="audio/x-pn-realaudio-plugin" console="Clip1"
controls="ControlPanel,StatusBar" height="45" width="270"
autostart="true">
2、點(diǎn)擊后播放
<embed
src="音樂(lè)、歌曲地址" type="audio/x-pn-realaudio-plugin" console="Clip1"
controls="ControlPanel,StatusBar" height="45" width="270"
autostart="false">
3.隱藏播放器且自動(dòng)播放:
<embed
src="音樂(lè)、歌曲地址" width="0" height="0" autostart="true" loop="true" align="middle"
volume="200" type="audio/x-pn-realaudio-plugin" exts="ra,ram" Init
fn="load-types" mime-types="mime.types" ALT="(Random)"
4、貼“wam”格式,自動(dòng)播放,自動(dòng)循環(huán)語(yǔ)法命令。
<P
align=center><EMBED id=MediaPlayer39 src=音樂(lè)、歌曲地址 width=270 height=40
type=audio/x-ms-wma loop="true"
autostart="true"></P>
5、貼“wam”格式,手動(dòng)播放,不自動(dòng)循環(huán)語(yǔ)法命令。
<P
align=center><EMBED id=MediaPlayer805 src=音樂(lè)、歌曲地址 width=270 height=40
type=audio/x-ms-wma loop="false"
autostart="false"></P>
6、貼“wam”格式,自動(dòng)播放,不自動(dòng)循環(huán)語(yǔ)法命令。
<P
align=center><EMBED id=MediaPlayer39 src=音樂(lè)、歌曲地址 width=270 height=40
type=audio/x-ms-wma loop="false"
autostart="true"></P>
7、貼“wam”格式,手動(dòng)播放,自動(dòng)循環(huán)語(yǔ)法命令。
<P
align=center><EMBED id=MediaPlayer805 src=音樂(lè)、歌曲地址 width=270 height=40
type=audio/x-ms-wma loop="true" controls="ControlPanel,StatusBar"
autostart="false"></P>
8、貼“mp3”格式,自動(dòng)播放,不循環(huán)語(yǔ)法命令。寬=(100----600),高=(30----40),可以根據(jù)自己的愛(ài)好修改.
<embed
src=type=音樂(lè)、歌曲地址 audio/x-pn-realaudio-plugin controls=controlpanel,statusbar
autostart=true width=270 height=40>
9、貼“mp3”格式,自動(dòng)播放,自動(dòng)循環(huán)語(yǔ)法命令。
<DIV align=center><embed src=音樂(lè)、歌曲地址
type=audio/x-pn-realaudio-plugin controls=controlpanel,statusbar autostart=true
loop=true width=270 height=40>
10、貼“mp3”格式,手動(dòng)播放,不循環(huán)語(yǔ)法命令
<embed src=音樂(lè)、歌曲地址 type=audio/x-pn-realaudio-plugin
controls=controlpanel,statusbarautostart=false width=270 height=40>
11、貼“mp3”格式,手動(dòng)播放,自動(dòng)循環(huán)語(yǔ)法命令。
<embed src=音樂(lè)、歌曲地址 type=audio/x-pn-realaudio-plugin
controls=controlpanel,statusbar autostart=true loop=true width=270
height=40>
12、貼“mp3”格式,隱藏播放器自動(dòng)播放,自動(dòng)循環(huán)。不會(huì)顯示播放器
<embed src=音樂(lè)、歌曲地址 type=audio/x-pn-realaudio-plugin
controls=controlpanel,statusbar autostart=true loop=true hidden=true width=400
height=40>
13、以上方法種種,只需要任意選一種。
素材取自網(wǎng)絡(luò),小草悠悠整理
2010.8
月光下的鳳尾竹
|