|
|
@@ -52,7 +52,7 @@ const DEFAULT_WIDTH = 640;
|
|
52
|
52
|
*/
|
|
53
|
53
|
const DEFAULT_HEIGHT = 480;
|
|
54
|
54
|
|
|
55
|
|
-const EtherpadContainerType = "etherpad";
|
|
|
55
|
+const ETHERPAD_CONTAINER_TYPE = "etherpad";
|
|
56
|
56
|
|
|
57
|
57
|
/**
|
|
58
|
58
|
* Container for Etherpad iframe.
|
|
|
@@ -133,6 +133,13 @@ class Etherpad extends LargeContainer {
|
|
133
|
133
|
});
|
|
134
|
134
|
});
|
|
135
|
135
|
}
|
|
|
136
|
+
|
|
|
137
|
+ /**
|
|
|
138
|
+ * @return {boolean} do not switch on dominant speaker event if on stage.
|
|
|
139
|
+ */
|
|
|
140
|
+ stayOnStage () {
|
|
|
141
|
+ return true;
|
|
|
142
|
+ }
|
|
136
|
143
|
}
|
|
137
|
144
|
|
|
138
|
145
|
/**
|
|
|
@@ -159,7 +166,7 @@ export default class EtherpadManager {
|
|
159
|
166
|
openEtherpad () {
|
|
160
|
167
|
this.etherpad = new Etherpad(this.domain, this.name);
|
|
161
|
168
|
VideoLayout.addLargeVideoContainer(
|
|
162
|
|
- EtherpadContainerType,
|
|
|
169
|
+ ETHERPAD_CONTAINER_TYPE,
|
|
163
|
170
|
this.etherpad
|
|
164
|
171
|
);
|
|
165
|
172
|
}
|
|
|
@@ -174,9 +181,10 @@ export default class EtherpadManager {
|
|
174
|
181
|
}
|
|
175
|
182
|
|
|
176
|
183
|
let isVisible = VideoLayout.isLargeContainerTypeVisible(
|
|
177
|
|
- EtherpadContainerType
|
|
|
184
|
+ ETHERPAD_CONTAINER_TYPE
|
|
178
|
185
|
);
|
|
179
|
186
|
|
|
180
|
|
- VideoLayout.showLargeVideoContainer(EtherpadContainerType, !isVisible);
|
|
|
187
|
+ VideoLayout.showLargeVideoContainer(
|
|
|
188
|
+ ETHERPAD_CONTAINER_TYPE, !isVisible);
|
|
181
|
189
|
}
|
|
182
|
190
|
}
|