Moxa Technologies MOXA VPort 2310 Video Server 2310 Manuel D’Utilisation

Page de 83
VPort 2310 User’s Manual 
Advanced Applications 
 
5-2
Capturing Up-to-date Still Images 
Getting snapshot via URL 
Administrators and users can use a specific URL to capture the current still image. 
URL 
http://<IP of Video Server>/cgi-bin/video.jpg 
 
Getting snapshot via FTP 
Administrators and users can log in to the Video Server FTP daemon to download the refreshed 
JPEG image named video.jpg. The user name and password are the same as for web access. The 
zero file size in the file directory means it is captured by request. 
Video Embedded in Customers’ Homepage 
In addition to the URL, some scripts should be added to download a plug-in for video images. The 
following example simply displays title text and a real-time video window in Internet Explorer or 
Netscape. The user name and password should be configured in advance. Those who are familiar 
with HTML can easily add more components or rewrite the code to create a more vivid and useful 
homepage. 
    <tr><td height=5>&nbsp;</td></tr> 
      <tr><td align=center> 
      <script language="JavaScript"> 
      <!-- 
      if ((navigator.appName == "Microsoft Internet 
Explorer")&&(navigator.platform != "MacPPC")) 
      { 
        document.write("<OBJECT ID=\"VAMCtrl\" WIDTH=362 HEIGHT=306"); 
        document.write(" 
CLASSID=CLSID:A93B47FD-9BF6-4DA8-97FC-9270B9D64A6C"); 
        document.write(" 
CODEBASE=\"/plugin/h263ctrl.cab#version=1,8,0,5\">"); 
        document.write("<PARAM NAME=\"DigitalZoomEdit\" VALUE=\"true\">"); 
        document.write("<PARAM NAME=\"EnableVolumeControl\" 
VALUE=\"false\">"); 
        document.write("<PARAM NAME=\"Deblocking\" VALUE=\"true\">"); 
        document.write("<PARAM NAME=\"Url\" 
VALUE=\"http://username:password@192.168.0.100/cgi-bin/video.vam\">"); 
        document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">"); 
        document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">"); 
        document.write("</OBJECT>"); 
      } 
      //--> 
      </script> 
      </td></tr> 
 
NOTE 
The camera's image will not be visible when using IE6.0 Security Package Update (MS04-004), 
since it will block VPort’s username and password on a customized homepage. You may need to 
disable VPort password protection, or check the patch description of IE (No. 832894) to solve 
this problem.