File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
src/org/bigbluebutton/modules/deskshare Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 46
46
<module name =" DeskShareModule"
47
47
url=" http://HOST/client/DeskShareModule.swf?v=4105"
48
48
uri=" rtmp://HOST/deskShare"
49
+ showButton=" true"
49
50
autoStart=" false"
50
51
baseTabIndex=" 101"
51
52
/>
Original file line number Diff line number Diff line change @@ -67,13 +67,15 @@ package org.bigbluebutton.modules.deskshare.managers
67
67
68
68
public function handleMadePresenterEvent (e :MadePresenterEvent ):void {
69
69
LogUtil. debug ("Got MadePresenterEvent " );
70
- toolbarButtonManager. addToolbarButton();
71
70
sharing = false ;
72
71
var option: DeskshareOptions = new DeskshareOptions();
73
72
option. parseOptions();
74
73
if (option. autoStart) {
75
74
handleStartSharingEvent(true );
76
75
}
76
+ if (option. showButton){
77
+ toolbarButtonManager. addToolbarButton();
78
+ }
77
79
}
78
80
79
81
public function handleMadeViewerEvent (e :MadePresenterEvent ):void {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ package org.bigbluebutton.modules.deskshare.model
22
22
23
23
public class DeskshareOptions
24
24
{
25
+ [Bindable ] public var showButton: Boolean = true ;
25
26
[Bindable ] public var autoStart: Boolean = false ;
26
27
[Bindable ] public var baseTabIndex: int ;
27
28
@@ -37,6 +38,9 @@ package org.bigbluebutton.modules.deskshare.model
37
38
else {
38
39
baseTabIndex = 101 ;
39
40
}
41
+ if (vxml. @showButton != undefined ){
42
+ showButton = (vxml. @showButton. toString (). toUpperCase () == "TRUE" ) ? true : false ;
43
+ }
40
44
}
41
45
}
42
46
}
You can’t perform that action at this time.
0 commit comments