Folks,
Is there a way to set SparkWeb to auto join a chat room (MUC) through FlashVars when viewing a particular web page?
Thanks,
BEA
createMUCService.patch (3209 Bytes)
createAndLoadRoom.patch (2670 Bytes)
Folks,
Is there a way to set SparkWeb to auto join a chat room (MUC) through FlashVars when viewing a particular web page?
Thanks,
BEA
createMUCService.patch (3209 Bytes)
createAndLoadRoom.patch (2670 Bytes)
This link may help http://www.igniterealtime.org/community/message/108687#108687
i have attempted to use this pattern in the index.html without success!
function jive_sparkweb_getConfig()
var password = getPageParameter(‘password’, ‘’);
var server = getPageParameter(‘server’, “”);
var socialroom = getPageparameter(‘socialroom’, " ");
var autologin = getPageParameter(‘autologin’, ‘false’);
var webapp = getPageParameter(‘webapp’, ‘red5’);
var conn = getPageParameter(‘conn’, ‘socket’);// socket, http or rtmp (using xmppurl below)
return {
httpLabel: “The Site” , httpURL: “http://thesite.com”,
username: username,
password: password,
start_chat_muc: socialroom,
server: server,
port: conn == “socket” ? 5222 : server, //window.location.port,
red5url: “rtmp:/oflaDemo”,
xmppurl: “rtmpt::8000/xmpp”,
webapp: webapp,
connectionType: conn,
//policyFileURL: “xmlsocket://” + server + “:5229”,
webcamAvatar:“true”,
etc…
Cheers,