I've bought over a dozen licenses for AVChat and all worked great!

Max from pacemedia.com, View all testimonials.

AVChat newsletter

Subscribe to our (almost monthly) newsletter to receive updates by email:



*confirmation required
Read our no spam policy

FMS box    red5
AVChat 2 and AVConference are compatible with both FMS 2 & 3 and Red5 .

Making AVConference and AVChat 2 open up in pop up windows.

Prerequisites:

  • working AVChat 2 or AVConference installation
  • acess to the web server where the client side files are installed

By default when you install AVChat 2, you type in the browser the URL address of a HTML page provided in the software archive, and the AVChat 2 client/admin flash interface shows up. This flash interface is embedded in the HTML file using some HTML tags.

Lets say that you want a text link on your homepage of your website that when clicked brings up a pop up window in which the AVChat 2 client interface shows up.

The text link on the homepage is created by adding this HTML code to your homepage:

<script type="text/javascript">
function popitup(url,hh,ww) {
newwindow=window.open(url, 'name', 'height='+hh+', width='+ww+', resizable=yes, scrollbars=yes');
if (window.focus) {newwindow.focus()}
return false;
}
</script>

<a href="http://www.yourwebsite.com/avchat/index.html" onclick="return popitup('http://www.yourwebsite.com/avchat/index.html',580,970)" target="_blank" >Launch AVChat 2</a>

 

The red part is the URL to the HTML page embedding the AVChat 2 index.swf file and needs to be changed to point to the index.html file that came with your AVChat 2 archive.

 

The green numbers are the height and width of the pop up window that will open and you can change them to make the pop window bigger or smaller. The above numbers bring up a pop up window resized to the standard AVChat 2 (and AVConference) width and height.

 

If instead of a text link you want an image button (just like in our AVChat 2 demo page) you need to replace the blue string above with the proper HTML tag for inserting an image. E.g. :

<img src="http://www.site.com/image.jpeg" />

 

In addition you can combine this tutorial with the Making AVChat 2 and AVConference fill in the browser window tutorial to make the flash interface adjust automatically when you resize the pop up window.