就几段代码,大家帮我看下吧, 演示地址: http://www1.nj111.com/dj/sort.asp?type=yw 连续播放文件:playlist.asp 代码如下: <!--#include file="conn.asp"--> <% id=request.querystring("id") set rs=server.createobject("adodb.recordset") sql="select * from ge where id in ("&id&")" rs.open sql,conn,1,3 rs("view")=rs("view")+1 rs.update %> <object id=video1 classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height=66 width=302> <param name="controls" value="StatusBar,ControlPanel"> <param name="console" value="Clip1"> <param name="autostart" value="true"> <param name="src" value="playlist1.asp?id=<%=id%>"> <embed src="playlist1.asp?id=<%=id%>" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height=66 width=302 autostart=true> </embed> </object> 播放文件:playlist1.asp 代码如下: <!--#include file="conn.asp"--> <smil> <head> <title>播放器</title> </head> <body> <seq> <% id=request.querystring("id") set rs=server.createobject("adodb.recordset") sql="select * from ge where id in (" & id & ")" rs.open sql,conn,1,3 rs("view")=rs("view")+1 rs.Update do while not rs.eof %> <video src="<%=rs("gurl")%>"/> <% rs.movenext loop %> </seq> </body> </smil>
播放就出现这样的问题: |