Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(SmallVideo): make thumbnail grey
paweldomas30cb948dcf7a
diff --git a/css/_videolayout_default.scss b/css/_videolayout_default.scssindex 8af855ed1a..ee1d49629d 100644--- a/css/_videolayout_default.scss+++ b/css/_videolayout_default.scss@@ -455,6 +455,11 @@filter: blur(10px) grayscale(.5) opacity(0.8);}+.videoThumbnailProblemFilter {+ -webkit-filter: grayscale(100%);+ filter: grayscale(100%);+}+#videoConnectionMessage {display: none;position: absolute;diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.jsindex 85df94bfe5..351326d576 100644--- a/modules/UI/videolayout/RemoteVideo.js+++ b/modules/UI/videolayout/RemoteVideo.js@@ -268,6 +268,12 @@ RemoteVideo.prototype.updateConnectionStatusIndicator = function (isActive) {if(this.connectionIndicator)this.connectionIndicator.updateConnectionStatusIndicator(isActive);++ // Toggle thumbnail video problem filter+ this.selectVideoElement().toggleClass(+ "videoThumbnailProblemFilter", !isActive);+ this.$avatar().toggleClass(+ "videoThumbnailProblemFilter", !isActive);};/**@@ -300,6 +306,8 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) {var onPlayingHandler = function () {self.VideoLayout.videoactive(streamElement, self.id);streamElement.onplaying = null;+ // Refresh to show the video+ self.updateView();};streamElement.onplaying = onPlayingHandler;};