added showbutton to deskshare module
This commit is contained in:
parent
4a67a67826
commit
b2dd27d56f
@ -46,6 +46,7 @@
|
||||
<module name="DeskShareModule"
|
||||
url="http://HOST/client/DeskShareModule.swf?v=4105"
|
||||
uri="rtmp://HOST/deskShare"
|
||||
showButton="true"
|
||||
autoStart="false"
|
||||
baseTabIndex="101"
|
||||
/>
|
||||
|
@ -67,13 +67,15 @@ package org.bigbluebutton.modules.deskshare.managers
|
||||
|
||||
public function handleMadePresenterEvent(e:MadePresenterEvent):void {
|
||||
LogUtil.debug("Got MadePresenterEvent ");
|
||||
toolbarButtonManager.addToolbarButton();
|
||||
sharing = false;
|
||||
var option:DeskshareOptions = new DeskshareOptions();
|
||||
option.parseOptions();
|
||||
if (option.autoStart) {
|
||||
handleStartSharingEvent(true);
|
||||
}
|
||||
if(option.showButton){
|
||||
toolbarButtonManager.addToolbarButton();
|
||||
}
|
||||
}
|
||||
|
||||
public function handleMadeViewerEvent(e:MadePresenterEvent):void{
|
||||
|
@ -22,6 +22,7 @@ package org.bigbluebutton.modules.deskshare.model
|
||||
|
||||
public class DeskshareOptions
|
||||
{
|
||||
[Bindable] public var showButton:Boolean = true;
|
||||
[Bindable] public var autoStart:Boolean = false;
|
||||
[Bindable] public var baseTabIndex:int;
|
||||
|
||||
@ -37,6 +38,9 @@ package org.bigbluebutton.modules.deskshare.model
|
||||
else{
|
||||
baseTabIndex = 101;
|
||||
}
|
||||
if (vxml.@showButton != undefined){
|
||||
showButton = (vxml.@showButton.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user