September 9, 2010   Register  Login 
    Search    CCTV Forum    

Platinum CCTV Product Forum Minimize
SearchForum Home
  PC Based DVR Systems  Alnet Systems DVR Cards  need help in em...
 need help in embed cctv to webpage
 
 9/6/2008 4:14:29 AM
User is offlinedadationg
2 posts


need help in embed cctv to webpage

i've setting up my system and run smoothly on pc. but now i want to embed the cctv into webpage. how can i embed and see 2 cameras in a webpage at same time?? thanks!!

 9/6/2008 3:38:56 PM
User is offlinePlatinum Support
757 posts
1st


Re: need help in embed cctv to webpage

Thank you for your inquiry,

   In order to embed the cameras into a web page, you will need to first copy the kamerys.jar file from your C:\Program Files\Alnet Systems\VDRS Professional\Professional\http folder onto a folder on your web server that can be accessed by your web page.

   Next, duplicate the Kamerys.jar file, and call the new file Kamerys2.jar in the same folder.  If you will be embedding more than 2 cameras, then duplicate the file again for each camera in the web page.

In the code for your web page, you will need to copy and paste the following:

<!--"CONVERTED_APPLET"--><!-- HTML CONVERTER --><OBJECT classid="clsid:CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA" WIDTH = "322" HEIGHT = "264" NAME = "TestApplet" ALIGN = "middle" VSPACE = "0" HSPACE = "0" codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab#Version=1,4,0,0">

<param name="server0name" value="My Cameras">
<PARAM NAME = CODE VALUE = "pl.npc.kamery.Main.class" >
<PARAM NAME = CODEBASE VALUE = "." >
<PARAM NAME = ARCHIVE VALUE = "kamerys.jar" >
<PARAM NAME = NAME VALUE = "TestApplet" >
<PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4">
<PARAM NAME="scriptable" VALUE="false">
<PARAM NAME = "progressbar" VALUE ="true">
<PARAM NAME = "boxmessage" VALUE ="Now Connecting to Cameras">
<param name="Server0Name" value="My Cameras">
<param name="Server0Address" value="myname.vdr-s.com">
<param name="Server0Port" value="9000">
<param name="Server0Login" value="username">
<param name="Server0Password" value="password">
<param name="DefaultCamera" value="0">
<param name="Language" value="ENGLISH">
<param name="AutoConnect" value="yes">
<COMMENT>
<EMBED type="application/x-java-applet" CODE = "pl.npc.kamery.Main.class" CODEBASE = "."ARCHIVE = "kamerys.jar" NAME = "TestApplet" WIDTH = "322" HEIGHT = "264" ALIGN = "middle" VSPACE = "0" HSPACE = "0" progressbar = "true" boxmessage = "Now loading cameras" scriptable=false pluginspage=http://java.sun.com/products/plugin/index.html#download

Server0Name="My Cameras"
Server0Address="myname.vdr-s.com"
Server0Port="9000"
Server0Login="username"
Server0Password="password"
Language="ENGLISH"
AutoConnect="yes"
defaultcamera="0">

<NOEMBED></NOEMBED></EMBED></COMMENT></OBJECT><!--"END_CONVERTED_APPLET"-->

---------------------------------------------------------------

Above in BOLD are the areas of the code that you will need to change.  You will need to paste this code 2 times into your web page to have 2 cameras simultaneously in view.  For the 2nd Time you paste this code, you will need to change the Kamerys.jar to Kamerys2.jar (or other name you used) as each camera needs its own JAR file for the java.

Then change the other bold headings
myname.vdr-s.com
= your registered address in alnet
username = your username in Alnet - (CaSe SenSitIvE)
password = your password in Alnet - (CaSe SenSitIvE)
defaultCamera = number of camera (0=1; 1=2; 2=3; etc.)

Once you have completed the above, you can reposition the code in your HTML sourcecode to relocate the cameras.  This can be repeated additional times for embedding cameras into your webpage.

For an example, you can visit http://ReliableAutoRepairIL.com they have a page there with 3 cameras embedded during normal business hours.

Thank you
Platinum CCTV Support
http://Platinum-CCTV.com

 9/8/2008 1:58:39 AM
User is offlinedadationg
2 posts


Re: need help in embed cctv to webpage

Thanks a lot for the code....it helps a alot... but, i'm wondering if there's any code that we can use to control the alnet camera over the web?? such as turning up, down, left, right, zoom.. and if there's any template of the cctv camera webpage for us to download?

 9/8/2008 10:24:33 AM
User is offlinePlatinum Support
757 posts
1st


Re: need help in embed cctv to webpage

dadationg,

   Thannk you for your response.  The PTZ Functionality is reserved only for the VDR-C remote client software and is not accessible through the web remote viewing or embedded HTML remote viewing features at this time.

Thank you
Platinum CCTV Support
http://Platinum-CCTV.com

  PC Based DVR Systems  Alnet Systems DVR Cards  need help in em...
SearchSearch  Forum HomeForum Home  

  Minimize


: : Home : : About Us : : CCTV Forum : :
Copyright 2008 Platinum CCTV Terms Of UsePrivacy Statement