Embedded mode

To incorporate the chat in an html page you should paste the following html code at the relevant place of your page:

<div id="flashcoms_videochat_swf" style="width:100%; height:100%;">
<p><strong>Videochat</strong></p>
<p>You need to upgrade your Flash Player.</p><p>Version 8 or higher is required.</p>download from <a href="http://www.adobe.com/go/getflashplayer">http://www.adobe.com/go/getflashplayer</a>
</div>

<script type="text/javascript">
//<![CDATA[
var so = new SWFObject("http://www.yoursite.com/flashcoms/flashcoms.swf", "videochat", "100%", "100%", "8", "#FFFFFF");
so.addVariable("rootPath", "http://www.yoursite.com/flashcoms/");
so.addVariable("app", "videochat/videochat.swf?anticash=v5_1_b_10");
so.addVariable("uid", "UID");
so.addVariable("roomId", "RoomID");
so.addVariable("langId", "LanguageID");
so.write("flashcoms_videochat_swf");

// ]]>
</script>

Parameters RoomID, UID and LanguageID are optional and will be described further.

Please make sure that rootPath variable value is specified correctly (it should be set to the http address of flashcoms folder)

Also, you should add the following string to the header section of the html page:

<script language="JavaScript" src=" http://www.yoursite.com/flashcoms/common/js/flashcoms.js">
</script>

Chat parameters

RoomID parameter allows you to specify the room which the user enters upon login. If this parameter is not set, users are able to choose the room to join on the chat welcome screen.

UID parameter is used in integrated mode with non session/cookies based site authorization. For more information please refer to the integration section of this manual.

LanguageID parameter allows you to specify the default chat interface language.