Hallo Freaks,
Ich habe ein Problem, ich habe in meine Hompage ein Livecam Projekt für meine Chinchilla gebastelt. das Funktioniert soweit auch ganz Gut mit jeweils einer CAM Pro HTML.
Ich würde aber nung gerne zwei Cams auf eine HTML-Seite Bekommen
Nun bin ich leider kein Programierer und brauche vileicht von nem Profi
einen kleinen tip.
anbei das Skript für eine CAM
<html>
<head>
<title> IP-CAM </title>
<meta http-equiv="Page-Enter" content="revealTrans(Duration=0.5,Transition=21)">
<script language="javascript1.2">
var video_on,audio_on,mdpc;
function setparameter()
{
video_on = "y";
audio_on = "n";
mdpc = "n";
if( mdpc == "y")
{
SQ1B_0.mdpc = 1;
}
else
{
SQ1B_0.mdpc = 0;
}
SQ1B_0.ShowText = 63;
SQ1B_0.width = 320;
SQ1B_0.height = 240;
SQ1B_0.account = "gast";
SQ1B_0.password = "gast";
SQ1B_0.cookies = "RootCookie00000";
SQ1B_0.webcamID = "=006565656565";
SQ1B_0.IP ="die IP-Adresse";
SQ1B_0.port = der Port;
if( video_on == "y" )
{
SQ1B_0.video_on = 1;
}
else
{
SQ1B_0.video_on = 0;
}
}
function reload()
{
if (SQ1B_0.width != SQ1B_0.img_width)
{
SQ1B_0.width = SQ1B_0.img_width;
SQ1B_0.height = SQ1B_0.img_height;
}
setTimeout("reload()",1000);
}
</script>
<link href="template.css" rel="stylesheet" type="text/css">
</head>
<body class=body>
<div align=center>
<table cellspacing=0 cellpadding=0 class=bsize height="240" width="320">
<tr>
<td height="240" align=center valign=middle width="320">
<OBJECT id=SQ1B_0 codeBase=/view.cab#Version=1,0,0,65 height=240 width=320
classid=CLSID:5431CBB5-0F05-4817-ACCA-D368B6581FBE></OBJECT>Funktioniert nur mit Internet Explorer
<script language="javascript1.2">
setTimeout("reload()",3000);
setparameter();
</script></td>
</tr>
</table>
</div>
</html>
Das Skript ist für 1 CAM und Funktioniert. Jede CAM hat einen eigenen Port.
Habe schon div. Sachen Probiert.
Vileicht hat jemand ne Idee.
LG
Pierre