diff --git a/react/features/unsupported-browser/components/UnsupportedMobileBrowser.js b/react/features/unsupported-browser/components/UnsupportedMobileBrowser.js index 28f574999..f140e9df9 100644 --- a/react/features/unsupported-browser/components/UnsupportedMobileBrowser.js +++ b/react/features/unsupported-browser/components/UnsupportedMobileBrowser.js @@ -97,9 +97,40 @@ class UnsupportedMobileBrowser extends Component { + + { + this._renderStyle() + } ); } + + /** + * Renders an HTML style element with CSS specific to + * this UnsupportedMobileBrowser. + * + * @private + * @returns {ReactElement} + */ + _renderStyle() { + // Temasys provide lib-jitsi-meet/modules/RTC/adapter.screenshare.js + // which detects whether the browser supports WebRTC. If the browser + // does not support WebRTC, it displays an alert in the form of a yellow + // bar at the top of the page. The alert notifies the user that the + // browser does not support WebRTC and, if Temasys provide a plugin for + // the browser, the alert contains a button to initiate installing the + // browser. When Temasys do not provide a plugin for the browser, we do + // not want the alert on the unsupported-browser page because the + // notification about the lack of WebRTC support is the whole point of + // the unsupported-browser page. + return ( + + ); + } } /**