|
@@ -42,6 +42,18 @@ const FULL_SCREEN_EVENTS = [
|
42
|
42
|
'fullscreenchange'
|
43
|
43
|
];
|
44
|
44
|
|
|
45
|
+/**
|
|
46
|
+ * The CSS class to apply to the root element of the conference so CSS can
|
|
47
|
+ * modify the app layout.
|
|
48
|
+ *
|
|
49
|
+ * @private
|
|
50
|
+ * @type {Object}
|
|
51
|
+ */
|
|
52
|
+const LAYOUT_CLASSES = {
|
|
53
|
+ HORIZONTAL_FILMSTRIP: 'horizontal-filmstrip',
|
|
54
|
+ VERTICAL_FILMSTRIP: 'vertical-filmstrip'
|
|
55
|
+};
|
|
56
|
+
|
45
|
57
|
/**
|
46
|
58
|
* The type of the React {@code Component} props of {@link Conference}.
|
47
|
59
|
*/
|
|
@@ -52,6 +64,12 @@ type Props = {
|
52
|
64
|
*/
|
53
|
65
|
_iAmRecorder: boolean,
|
54
|
66
|
|
|
67
|
+ /**
|
|
68
|
+ * The CSS class to apply to the root of {@link Conference} to modify the
|
|
69
|
+ * application layout.
|
|
70
|
+ */
|
|
71
|
+ _layoutModeClassName: string,
|
|
72
|
+
|
55
|
73
|
/**
|
56
|
74
|
* Conference room name.
|
57
|
75
|
*/
|
|
@@ -162,6 +180,7 @@ class Conference extends Component<Props> {
|
162
|
180
|
|
163
|
181
|
return (
|
164
|
182
|
<div
|
|
183
|
+ className = { this.props._layoutModeClassName }
|
165
|
184
|
id = 'videoconference_page'
|
166
|
185
|
onMouseMove = { this._onShowToolbar }>
|
167
|
186
|
<Notice />
|
|
@@ -253,6 +272,10 @@ function _mapStateToProps(state) {
|
253
|
272
|
*/
|
254
|
273
|
_iAmRecorder: iAmRecorder,
|
255
|
274
|
|
|
275
|
+ _layoutModeClassName: interfaceConfig.VERTICAL_FILMSTRIP
|
|
276
|
+ ? LAYOUT_CLASSES.VERTICAL_FILMSTRIP
|
|
277
|
+ : LAYOUT_CLASSES.HORIZONTAL_FILMSTRIP,
|
|
278
|
+
|
256
|
279
|
/**
|
257
|
280
|
* Conference room name.
|
258
|
281
|
*/
|