Click for Sun
Back to Board Index

Christmas present!
Tim Walters
United Kingdom

1st Dec 2014
Hi Guys

FSXEU would like to wish you all a Merry Christmas. Our present to you is a little utility which can be added to your website to announce, verbally, any controllers that may be online on your server.

You need to add the following code to your website on each page you want it to play:

<iframe width='55' height='55' frameborder='0' src=''></iframe>

This will add a frame and mute button to your website which will play a selected voice announcing active controllers on your host. Works with FireFox, Chrome & IE9+. Doesn't work on Android (yet).

There are a few options you should/could use:

host= xxxx
your FSOpen HostID (mandatory) - will default to 3246 if not set.

bgcol= xxxxxx
your frame background colour (optional) - will default to 000000 (white) if not set.

voice= 0/1/2/3/4 (optional)
0 = the Google Robot. 1 through to 4 plays another fixed recorded voice. Remove 'voice=' completely to use a random voice.

prefix= yes/no (optional)
plays a prefix (not with the Google Robot). Default is yes.

suffix= yes/no (optional)
plays an ending (not with Google Robot). Default is yes.

endmess= 0/1/2/3/4/5 (optional)
plays a fixed suffix. Remove 'end=' completely to play a random ending. Note: 'suffix=' has to be yes.

You could use AJAX or JAVA to reload this iframe script after a page load - thereby playing it once per minute (or as required) on the page it is on.

NOTE: If no-one is on your host, you won't hear anything!

Once again, Merry Christmas!

Tim Walters
Andy Mooring
United Kingdom

4th Dec 2014
Didn't know you could insert AJAX floor cleaner into a system

You need to Log on to post a reply.
Back to Board Index

Forum help

No politics, just flying
FSopen © 2009 - 2017
Page views: 1010644665