Install Video Chat Client -- Installation of Client
1) Unzip file Chat_Client.zip to target folder
Below is the file structure after unzip:
|./chat.swf --- swf file
./UserIcons.swf --- user icon file
./setting.xml --- configure file
./themes/ --- style package
./lang/ --- language package
./cartoon/ --- emotion animation
2) Embed Chat Client into site page
Copy the file above into your website relative folder and add following code to the site page you want to embed chat:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="766" height="760" id="chat" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="chat.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="chat.swf" quality="high" bgcolor="#ffffff" width="766" height="760" name="chat" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Note: You can change "Width" value and "Height" value in Object tag and Embed tag to change the size of Chat window; and you also can visit SWF file by the browser directly which can make the Chat window full size the browser window.
Attention: Because of the Flash Player security policy, if the domain name of SWF file is different from the external server's, they can't link when SWF file communicates with the external server. For example, E.g. if SWF is in http://www.aaa.com but the domain name of Red5 or FMS server is www. bbb.com, the SWF can not link to the server.
Solution: Place the domain name policy file crossdomain.xml in the web root directory of the server. For e.g. http:// www.bbb.com/crossdomain.xml. It must be the root directory of the web directory. You can find crossdomain.xml on the list of the install file. For more information and details of Flash Player privacy protection, please visit the official website: http://www.adobe.com/products/flashplayer/security/
3) Configure Client
Configure sever address and port. Use Notepad or other text tool to open the file "setting.xml". Modify the server address and port referring to the note in this file. About the detail of configuring please see Chat Configuration via setting.xml.
Open the site page, and try to log in as a guest. If it successfully, it means installation is successful
4) Initialize the system information
After the system is installed, the list of room is empty so you need to add rooms through logging-in the admin panel background. Please log in as administrator, whose user name is admin and password is admin. Please change the administrator password at first time. On the manage panel select room manage, then add rooms.
About the detail of manage panel please check the referent instruction document.