add option to not show close button for camera view window
This commit is contained in:
parent
d56130a239
commit
2f421059bb
@ -56,6 +56,7 @@
|
||||
resolutions="320x240,640x480,1280x720"
|
||||
autoStart="false"
|
||||
showButton="true"
|
||||
showCloseButton="true"
|
||||
publishWindowVisible="true"
|
||||
viewerWindowMaxed="false"
|
||||
viewerWindowLocation="top"
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -83,6 +83,8 @@
|
||||
|
||||
if (videoOptions.viewerWindowMaxed)
|
||||
this.maximize();
|
||||
|
||||
this.showCloseButton = videoOptions.showCloseButton;
|
||||
}
|
||||
|
||||
private function onCloseEvent(event:MDIWindowEvent = null):void {
|
||||
|
Loading…
Reference in New Issue
Block a user