Embedded mode

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

 
<script type="text/javascript">
var flashvars = {};
var params = {uid:"2010", bgColor:0xffffff};
var attributes = {};
swfobject.embedSWF("http://www.your_domain.com/chat7/swf/preloader.swf?build=7212",
"main_swf", "765", "560", "9.0.124",
flashvars, params, attributes);
</script>
 
 
<div style="text-align:center;"> 
 
<div id="main_swf">
<p><strong>Flashcoms Videochat 7</strong></p>
<p>You need to install or upgrade Adobe Flash Player.</p>
<p>Version 9.0.124 or higher is required.</p>
<p><a href="http://get.adobe.com/flashplayer/">Get Adobe Flash player</a></p>
</div>
 
</div>

2. Find the following line from the above code and set appropriate path to preloader.swf file.

swfobject.embedSWF("http://www.your_domain.com/chat7/swf/preloader.swf?build=7212"

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

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

4.The main parameter we will be using throughout entire integration process is "UID". This a global user identifier used to retrieve profile and authentication data. At this phase of installation we set it to random value of "2010" to verify that all the steps were performed successfully.

var params = {uid:"2012", bgColor:0xffffff};