插入播放器的一些代碼 2006-12-16 19:05
分類:博客教程字號:
大大
中中 小
插入播放器的一些代碼:
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>
本站僅提供存儲服務,所有內容均由用戶發布,如發現有害或侵權內容,請
點擊舉報。