網頁設計之網頁音樂的實現技巧(2)_XHTML教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
5.mpg
| <embed src="音樂文件和地址" border="0" width="width_num" height="height_num" type="application/x-mplayer2"></embed> |
6.mov
| <embed controller="true" width="width_num" height="height_num" src="音樂文件和地址" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html"></embed> |
7.rm
| <OBJECT>" height="height_num"> <PARAM NAME="CONTROLS" VALUE="ImageWindow"> <PARAM NAME="AUTOSTART" Value="true"> <PARAM NAME="SRC" VALUE="音樂文件和地址"> <embed height="高" width="寬" controls="ImageWindow" src="音樂文件和地址" type="audio/x-pn-realaudio-plugin" autostart="true" nolabels="0" autogotourl="-1"></OBJECT> |
8.上面的都是使用播放器的,假如只是想播放背景音樂的話可以使用如下簡單語句:
| <bgsound src="音樂文件和地址" loop=1> |
loop后面是循環的次數,-1代表無限循環。
相關XHTML教程:
- 相關鏈接:
- 教程說明:
XHTML教程-網頁設計之網頁音樂的實現技巧(2)
。