网页中插入多媒体的代码 |
[ 2008-4-19 10:57:00 | By: YingGQ ] |
0 <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 name=player1 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="POSITION: absolute; LEFT: 50px; TOP: -80px;" src=flash地址 width=700 height=780 wmode="transparent"> |
联系客服