如何添加网页背景音乐

来源:百度知道 编辑:UC知道 时间:2024/06/08 17:23:10
用FRONTPAGE加入背景音乐,我要加入MP3格式的方法啊,好像有人说过把音乐嵌入网页里面,但是怎么嵌入啊,要明白点的啊
不行....

打开HTML
在最后加上这一句都行
<script language="JavaScript" type="text/javascript">

document.write("<OBJECT id=\"NSPlay\" name=\"NSPlay\" codeBase=http:\/\/activex.microsoft.com\/activex\/controls\/mplayer\/en\/nsmp2inf.cab#Version=6,4,5,715 type=application\/x-oleobject height=0 hspace=1 standby=\"Loading Microsoft Windows Media Player components...\" width=0 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95>");

document.write("<PARAM NAME=\"AutoRewind\" VALUE=\"1\">");

document.write("<PARAM NAME=\"FileName\" VALUE= \"mp3地址\">");

document.write("<PARAM NAME=\"ShowControls\" VALUE=\"1\">");

document.write("<PARAM NAME=\"loop\&quo