紧急求救,关于网络mp3播放问题!!
limop 2004-06-16 06:18:51 麻烦高手给改一下!1
<% Response.Buffer=True %>
<!--#include file="conn.asp"-->
<%
theid=request("id")
sql="update music set hits=hits+1 where id="&theid
set rs1=conn.execute(sql)
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select * from music where id="&request("id")
rs.open sql,conn,1,1
%>
<HTML><HEAD>
<TITLE>正在播放:<%=rs("name")%></TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<SCRIPT language=javascript>
function click() {
if (event.button==2) {
alert('兄弟,你想干什么!')
}
}
document.onmousedown=click
</SCRIPT>
<style type="text/css">
<!--
td { font-size: 12px; line-height: 17px }
body { font-size: 12px; line-height: 17px }
p { margin-top: 1px; margin-bottom: 1px }
a:link { text-decoration: none; color: black }
a:visited { text-decoration: none; color: black }
a:active { text-decoration: none }
a:hover { text-decoration: underline; color: red }
-->
</style>
</HEAD>
<BODY leftMargin=0 onload="" topMargin=0 marginheight="0" marginwidth="0" background="images/bg.gif">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="96">
<tr>
<td width="100%" height="72">
<p align="center">
<OBJECT id="mPlayer1" width="300" height="60" classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type=application/x-oleobject standby="Loading Windows Media Player components...">
<param name="SRC" value="<%=rs("url")%>">
<PARAM NAME="rate" value="1">
<PARAM NAME="balance" value="0">
<PARAM NAME="currentPosition" value="0">
<PARAM NAME="defaultFrame" value="">
<PARAM NAME="playCount" value="100">
<PARAM NAME="autoStart" value="-1">
<PARAM NAME="currentMarker" value="0">
<PARAM NAME="invokeURLs" value="-1">
<PARAM NAME="baseURL" value="">
<PARAM NAME="volume" value="60">
<PARAM NAME="mute" value="0">
<PARAM NAME="uiMode" value="full">
<PARAM NAME="stretchToFit" value="0">
<PARAM NAME="windowlessVideo" value="-1">
<PARAM NAME="enabled" value="-1">
<PARAM NAME="enableContextMenu" value="0">
<PARAM NAME="fullScreen" value="0">
<PARAM NAME="SAMIStyle" value="">
<PARAM NAME="SAMILang" value="">
<PARAM NAME="SAMIFilename" value="">
<PARAM NAME="captioningID" value="">
<PARAM NAME="enableErrorDialogs" value="0">
<PARAM NAME="_cx" value="12435">
<PARAM NAME="_cy" value="1640">
<param name="BACKGROUNDCOLOR" value="#000000"><embed src="<%=rs("url")%>" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="60" width="100%" autostart="true">
</OBJECT>
</p>
</td>
</tr>
<tr>
<td width="100%" height="24">
<p align="center">
<marquee scrollamount="3" width="300" height="16">正在播放:<%=rs("name")%> 歌手:<%=rs("who")%> 上传时间:<%=rs("date")%></marquee>
</td>
</tr>
</table></center>
</div>
</BODY></HTML>