<!--#include file="conn.asp"-->
<%
SelID=request.QueryString("ID")
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="Select * From Tab_chair Where ID="&SelID
rs.open sql,conn,1,3
SQL_up="Update Tab_chair Set hit=hit+1 where ID="&SelID
conn.execute(SQL_up)
%>
<html>
<head>
<title>多媒体演示</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-image: url(images/play.jpg);
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<table width="460" height="440" border="0" cellpadding="-2" cellspacing="-2">
<tr>
<td width="77" height="26"> </td>
<td width="351"> </td>
<td width="32"> </td>
</tr>
<tr>
<td height="266"> </td>
<td>
<div id="Layer1" style="position:absolute; width:199px; height:94px; z-index:1; left: 0px; top: 290px;">
<img src="images/play_02.gif" width="460" height="100">
</div>
<embed src="AVI/<%=rs("path")%>" width="326" height="315" noerror="true">
</embed></td>
<td> </td>
</tr>
<tr>
<td height="99"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
<%
SelID=request.QueryString("ID")
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="Select * From Tab_chair Where ID="&SelID
rs.open sql,conn,1,3
SQL_up="Update Tab_chair Set hit=hit+1 where ID="&SelID
conn.execute(SQL_up)
%>
<html>
<head>
<title>多媒体演示</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-image: url(images/play.jpg);
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<table width="460" height="440" border="0" cellpadding="-2" cellspacing="-2">
<tr>
<td width="77" height="26"> </td>
<td width="351"> </td>
<td width="32"> </td>
</tr>
<tr>
<td height="266"> </td>
<td>
<div id="Layer1" style="position:absolute; width:199px; height:94px; z-index:1; left: 0px; top: 290px;">
<img src="images/play_02.gif" width="460" height="100">
</div>
<embed src="AVI/<%=rs("path")%>" width="326" height="315" noerror="true">
</embed></td>
<td> </td>
</tr>
<tr>
<td height="99"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="AutoRewind" value="0">
<param name="PlayCount" value="0">
<param name="Appearance value="0 value=""">
<param name="BorderStyle value="0 value=""">
<param name="MovieWindowHeight" value="240">
<param name="MovieWindowWidth" value="320">
<param name="FileName" value="视频地址/Mbar.avi">
<embed width="400" height="200" border="0" showdisplay="0" showcontrols="1" autostart="1" autorewind="0" playcount="0" moviewindowheight="240" moviewindowwidth="320" filename="视频地址/Mbar.avi" src="Mbar.avi">
</embed>
</object>
试试这个