add option to not show close button for camera view window

This commit is contained in:
Richard Alam 2011-11-15 18:23:56 -05:00
parent d56130a239
commit 2f421059bb
3 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,7 @@
resolutions="320x240,640x480,1280x720"
autoStart="false"
showButton="true"
showCloseButton="true"
publishWindowVisible="true"
viewerWindowMaxed="false"
viewerWindowLocation="top"

View File

@ -7,6 +7,9 @@ package org.bigbluebutton.modules.videoconf.model
[Bindable]
public var autoStart:Boolean = false;
[Bindable]
public var showCloseButton:Boolean = true;
[Bindable]
public var showButton:Boolean = true;
@ -40,6 +43,9 @@ package org.bigbluebutton.modules.videoconf.model
public function parseOptions():void {
var vxml:XML = BBB.getConfigForModule("VideoconfModule");
if (vxml != null) {
if (vxml.@showCloseButton != undefined) {
showCloseButton = (vxml.@showCloseButton.toString().toUpperCase() == "TRUE") ? true : false;
}
if (vxml.@showButton != undefined) {
showButton = (vxml.@showButton.toString().toUpperCase() == "TRUE") ? true : false;
}

View File

@ -83,6 +83,8 @@
if (videoOptions.viewerWindowMaxed)
this.maximize();
this.showCloseButton = videoOptions.showCloseButton;
}
private function onCloseEvent(event:MDIWindowEvent = null):void {