|
@@ -317,6 +317,15 @@ class VideoContainer extends LargeContainer {
|
317
|
317
|
* @param {boolean} show
|
318
|
318
|
*/
|
319
|
319
|
showAvatar (show) {
|
|
320
|
+ // TO FIX: Video background need to be black, so that we don't have a
|
|
321
|
+ // flickering effect when scrolling between videos and have the screen
|
|
322
|
+ // move to grey before going back to video. Avatars though can have the
|
|
323
|
+ // default background set.
|
|
324
|
+ // In order to fix this code we need to introduce video background or
|
|
325
|
+ // find a workaround for the video flickering.
|
|
326
|
+ $("#largeVideoContainer").css("background",
|
|
327
|
+ (show) ? interfaceConfig.DEFAULT_BACKGROUND : "#000");
|
|
328
|
+
|
320
|
329
|
this.$avatar.css("visibility", show ? "visible" : "hidden");
|
321
|
330
|
}
|
322
|
331
|
|