|
@@ -9,6 +9,8 @@ import AbstractLabels, {
|
9
|
9
|
type Props
|
10
|
10
|
} from '../AbstractLabels';
|
11
|
11
|
|
|
12
|
+declare var interfaceConfig: Object;
|
|
13
|
+
|
12
|
14
|
/**
|
13
|
15
|
* The type of the React {@code Component} state of {@link Labels}.
|
14
|
16
|
*/
|
|
@@ -67,6 +69,7 @@ class Labels extends AbstractLabels<Props, State> {
|
67
|
69
|
render() {
|
68
|
70
|
const { _filmstripVisible } = this.props;
|
69
|
71
|
const { filmstripBecomingVisible } = this.state;
|
|
72
|
+ const { VIDEO_QUALITY_LABEL_DISABLED } = interfaceConfig;
|
70
|
73
|
const className = `large-video-labels ${
|
71
|
74
|
filmstripBecomingVisible ? 'opening' : ''} ${
|
72
|
75
|
_filmstripVisible ? 'with-filmstrip' : 'without-filmstrip'}`;
|
|
@@ -91,7 +94,7 @@ class Labels extends AbstractLabels<Props, State> {
|
91
|
94
|
this._renderTranscribingLabel()
|
92
|
95
|
}
|
93
|
96
|
{
|
94
|
|
- this.props._showVideoQualityLabel
|
|
97
|
+ this.props._showVideoQualityLabel && !VIDEO_QUALITY_LABEL_DISABLED
|
95
|
98
|
&& this._renderVideoQualityLabel()
|
96
|
99
|
}
|
97
|
100
|
{
|