三个女人一台戏跑路:网站问题

来源:百度文库 编辑:中科新闻网 时间:2024/04/29 11:30:57
例如我插了这段代码,把地址改成文件的地址,那不是只能放一首歌吗?在同一业上有10首歌,怎么才可以在同一个播放器上选择性播放?
<object align=middle class=OBJECT classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 height=320 id=MediaPlayer width=356>
<param name="ShowStatusBar" value="-1">
<param name="Filename" value="地址">
<embed type=application/x-oleobject codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename=mp src=电影地址 width=356 height=320>
</embed>
</object>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>::星仔网站媒体播放程序 ::</title>
<link rel="stylesheet" type="text/css" href="stylehome.css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide

function killErrors() {
return true;
}

window.onerror = killErrors;

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>

<script language="JavaScript" src="hot.js"></script>
<script language="JavaScript" src="ferlyge.js"></script>
<script language="JavaScript" src="exobudpl.js"></script>
<script language="JScript" for="Exobud" event="openStateChange(sf)">evtOSChg(sf);</script>
<script language="JScript" for="Exobud" event="playStateChange(ns)">evtPSChg(ns);</script>
<script language="JScript" for="Exobud" event="error()">evtWmpError();</script>
<script language="JScript" for="Exobud" event="Buffering(bf)">evtWmpBuff(bf);</script>
<script language="JavaScript" src="bgm.js"></script>

<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style></head>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="initExobud();" oncontextmenu="return false" ondragstart="return false" onselectstart="return false" style="BACKGROUND-COLOR: transparent">
<NOSCRIPT><IFRAME SRC=*.htm></IFRAME></NOSCRIPT>
<object id="Exobud" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject" width="0" height="0"
style="position:relative;left:0px;top:0px;width:0px;height:0px;">
<param name="autoStart" value="true">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="currentMarker" value="0">
<param name="enableContextMenu" value="false">
<param name="enableErrorDialogs" value="false">
<param name="enabled" value="true">
<param name="fullScreen" value="false">
<param name="invokeURLs" value="false">
<param name="mute" value="false">
<param name="playCount" value="1">
<param name="rate" value="1">
<param name="uiMode" value="none">
<param name="volume" value="100">
</object>
<table height=20 align=center cellpadding=0 cellspacing=0 border=0>
<tr>
<td bgcolor="#000000">
<table width="400" height=18 border=0 align=center cellpadding=0 cellspacing=0 bordercolor="#000000">
<tr>
<td width=15 height=15 align=center
><img name="scope" src="image/scope.gif" width=15 height=16
onClick="vizExobud()" style="cursor:help" title=" 网络天使 http://ts513.wy8.net"
></td>
<td width=5><img src="image/blank.gif" width="5" height="5"></td>
<td width=140 bgcolor="#000000" class=bg>
<marquee behavior="scroll" width=140 height=12 scrollamount=2 scrolldelay=70>
<span id="disp1" class="title"> 星仔网络 http://www.vlx.cn</span>
</marquee></td>
<td width=6 bgcolor="#000000"><img src="image/blank.gif" width="6" height="5"></td>
<td width=75 align=center nowrap bgcolor="#000000" class=bg onClick="chgTimeFmt()">
<span id="disp2" class="time" title="时间长度显示方式 (正常/倒数)"
style="width:75;cursor:hand;padding-bottom:2px">00:00 | 00:00</span> </td>
<td nowrap bgcolor="#000000"
><img name="vmute" src="image/blank.gif" width=1 height=5 border=0 onClick="wmpMute()"
onMouseOver="imgtog('vmute',2)" onMouseOut="imgtog('vmute',3)"
><img name="vdn" src="image/blank.gif" width=1 height=5 border=0 onClick="wmpVolDn()"
onMouseOver="imgtog('vdn',2)" onMouseOut="imgtog('vdn',3)"
><img name="vup" src="image/blank.gif" width=1 height=5 border=0 onClick="wmpVolUp()"
onMouseOver="imgtog('vup',2)" onMouseOut="imgtog('vup',3)"
></td>
<td nowrap bgcolor="#000000"
><img name="pmode" src="image/blank.gif" width=1 height=5 border=0 onClick="chgPMode()"
onMouseOver="imgtog('pmode',2)" onMouseOut="imgtog('pmode',3)"
><img name="rept" src="image/blank.gif" width=1 height=5 border=0 onClick="chkRept()"
onMouseOver="imgtog('rept',2)" onMouseOut="imgtog('rept',3)"
></td>
<td valign="middle" bgcolor="#000000"
><img name="prevt" src="image/btn_prev.gif" width=13 height=13 border=0 onClick="playPrev()"
onMouseOver="imgtog('prevt',2)" onMouseOut="imgtog('prevt',3)" style="cursor:hand" title="上一首"
> <img name="pauzt" src="image/btn_pauz.gif" width=13 height=13 border=0 onClick="wmpPP()"
onMouseOver="imgtog('pauzt',2)" onMouseOut="imgtog('pauzt',3)" style="cursor:hand" title="暂停.继续"
> <img name="stopt" src="image/btn_stop.gif" width=13 height=13 border=0 onClick="wmpStop()"
onMouseOver="imgtog('stopt',2)" onMouseOut="imgtog('stopt',3)" style="cursor:hand" title="停止"
> <img name="playt" src="image/btn_play.gif" width=13 height=13 border=0 onClick="startExobud()"
onMouseOver="imgtog('playt',2)" onMouseOut="imgtog('playt',3)" style="cursor:hand" title="播放"
> <img name="nextt" src="image/btn_next.gif" width=13 height=13 border=0 onClick="playNext()"
onMouseOver="imgtog('nextt',2)" onMouseOut="imgtog('nextt',3)" style="cursor:hand" title="下一首"
> <img name="plist" src="image/btn_plist.gif" width=8 height=13 border=0 onClick="openPlist()"
onMouseOver="imgtog('plist',2)" onMouseOut="imgtog('plist',3)" style="cursor:hand" title="播放清单"></td>
</tr>
</table>
</body>
</html>
用这段试试吧,把它复制贴到代码里

用javescript具体代码有点长 这里就不详细说了 可以到网上去找找 有很多的