fix(large-video): do not try to show background on safari with webrtc (#2606)
The animation for toggling filmstrip visibility was lagging on Safari. Even though the background video is set to hidden, it is still causing issues. Setting the background to display none instead does help but might interfere with animations. So instead do the easy thing and re-use logic used for Firefox to not show the background video.
This commit is contained in:
parent
e325199075
commit
bfb45ed0e8
|
@ -687,7 +687,11 @@ export class VideoContainer extends LargeContainer {
|
|||
* @returns {void}
|
||||
*/
|
||||
_updateBackground() {
|
||||
if (browser.isFirefox() || browser.isTemasysPluginUsed()) {
|
||||
// Do not the background display on browsers that might experience
|
||||
// performance issues from the presence of the background.
|
||||
if (browser.isFirefox()
|
||||
|| browser.isSafariWithWebrtc()
|
||||
|| browser.isTemasysPluginUsed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue