<html>
<head>
<title>OCXDemo</title>
<script language="javascript">
var UserID
function Play()
{
var Netocx = document.getElementById("NetOCX");
UserID = Netocx.Login("192.168.1.80",8888,"admin","12345");
Netocx.StartRealPlay(0 ,0, 0);
}
function Stop()
{
var Netocx = document.getElementById("NetOCX");
Netocx.StopRealPlay();
Netocx.Logout();
}
function FullScreen()
{
var Netocx = document.getElementById("NetOCX");
Netocx.FullScreenCtrl();
}
function Play1()
{
var Netocx1 = document.getElementById("NetOCX1");
UserID = Netocx1.Login("192.168.1.80",8888,"admin","12345");
Netocx1.StartRealPlay(1 ,0, 0);
}
function Stop1()
{
var Netocx1 = document.getElementById("NetOCX1");
Netocx1.StopRealPlay();
Netocx1.Logout();
}
function FullScreen1()
{
var Netocx1 = document.getElementById("NetOCX1");
Netocx1.FullScreenCtrl();
}
function Play3()
{
var Netocx = document.getElementById("NetOCX3");
UserID = Netocx.Login("192.168.1.80",8888,"admin","12345");
Netocx.StartRealPlay(3 ,0, 0);
}
function Stop3()
{
var Netocx = document.getElementById("NetOCX3");
Netocx.StopRealPlay();
Netocx.Logout();
}
function FullScreen3()
{
var Netocx = document.getElementById("NetOCX3");
Netocx.FullScreenCtrl();
}
function Play4()
{
var Netocx = document.getElementById("NetOCX4");
UserID = Netocx.Login("192.168.1.80",8888,"admin","12345");
Netocx.StartRealPlay(4 ,0, 0);
}
function Stop4()
{
var Netocx = document.getElementById("NetOCX4");
Netocx.StopRealPlay();
Netocx.Logout();
}
function FullScreen4()
{
var Netocx = document.getElementById("NetOCX4");
Netocx.FullScreenCtrl();
}
function RemoteCfg()
{
var Netocx = document.getElementById("NetOCX");
Netocx.RemoteConfigWnd("admin", 0, 0, 0, 0);
}
</script>
</head>
<body>
<table width="1024" height="100" border="3">
<tr>
<td width="1024" height="100"> </td>
</tr>
</table>
<table width="1024" height="350" border="0">
<tr>
<td height="318" colspan="3" align="center">
<object classid="clsid:1FB5A5AA-3750-421C-BEA3-6E52FC5F7843" codebase="./NetVideoActivex.cab#version=1,1,1,5"
standby="Waiting..." id="NetOCX" width="400" height="300" name="ocx" align="center">
</object>
</td>
<td height="318" colspan="3" align="center"><object classid="clsid:1FB5A5AA-3750-421C-BEA3-6E52FC5F7843" codebase="./NetVideoActivex.cab#version=1,1,1,5"
standby="Waiting..." id="NetOCX1" width="400" height="300" name="ocx1" align="center" >
</object></td>
</tr>
<tr>
<td width="62" height="26"> </td>
<td width="286" align="center">
<input type="button" name="Play" value=" preview " onClick = "Play()" >
<input type="button" name="Stop" value=" stop " onClick = "Stop()" >
<input type="button" name="FullScreen" value=" fullscreen " onClick = "FullScreen()" > </td>
<td width="133">
<td width="521" align="center">
<input type="button" name="Play1" value=" preview " onClick = "Play1()" >
<input type="button" name="Stop1" value=" stop " onClick = "Stop1()" >
<input type="button" name="FullScreen1" value=" full screen " onClick = "FullScreen1()" > </td><td width="0"></td>
</tr>
</table>
<table width="1024" height="350" border="0">
<tr>
<td height="318" colspan="3" align="center"><object classid="clsid:1FB5A5AA-3750-421C-BEA3-6E52FC5F7843" codebase="./NetVideoActivex.cab#version=1,1,1,5"
standby="Waiting..." id="NetOCX3" width="400" height="300" name="ocx3" align="center">
</object>
</td>
<td height="318" colspan="3" align="center"><object classid="clsid:1FB5A5AA-3750-421C-BEA3-6E52FC5F7843" codebase="./NetVideoActivex.cab#version=1,1,1,5"
standby="Waiting..." id="NetOCX4" width="400" height="300" name="ocx4" align="center" >
</object></td>
</tr>
<tr>
<td width="62" height="26"> </td>
<td width="286" align="center"><input type="button" name="Play3" value=" preview " onClick = "Play3()" >
<input type="button" name="Stop3" value=" stop " onClick = "Stop3()" >
<input type="button" name="FullScreen3" value=" fullscreen " onClick = "FullScreen()" >
</td>
<td width="133">
<td width="521" align="center"><input type="button" name="Play4" value=" preview " onClick = "Play4()" >
<input type="button" name="Stop4" value=" stop " onClick = "Stop4()" >
<input type="button" name="FullScreen4" value=" full screen " onClick = "FullScreen4()" >
</td>
<td width="0"></td>
</tr>
</table>
<p> </p>
</body>
</html> BURDA OTOMATIK PLAY YAPMAK İSTİYORUM NASIL YAPABILIRIM SU BUTONA BASILMASINI ISTEMIYOUM KISACA
<td width="286" align="center"><input type="button" name="Play3" value=" preview " onClick = "Play3()"