diff --git a/avatar.js b/avatar.js
index 98be20478..58abfe7c4 100644
--- a/avatar.js
+++ b/avatar.js
@@ -77,8 +77,7 @@ var Avatar = (function(my) {
//currently shown
if (activeSpeakerJid === jid && VideoLayout.isLargeVideoOnTop()) {
setVisibility($("#largeVideo"), !show);
- setVisibility($('#activeSpeakerAvatar'), show);
- setVisibility($('#activeSpeakerAudioLevel'), show);
+ setVisibility($('#activeSpeaker'), show);
setVisibility(avatar, false);
setVisibility(video, false);
} else {
diff --git a/css/videolayout_default.css b/css/videolayout_default.css
index d26eeb7cc..c7d428861 100644
--- a/css/videolayout_default.css
+++ b/css/videolayout_default.css
@@ -377,11 +377,21 @@
pointer-events: none;
}
-#activeSpeakerAudioLevel {
+#activeSpeaker {
visibility: hidden;
+ width: 150px;
+ height: 150px;
+ margin: auto;
+ overflow: hidden;
+ position: relative;
+}
+
+#activeSpeakerAudioLevel {
position: absolute;
- top: 113px;
+ top: 0px;
+ left: 0px;
z-index: 1;
+ visibility: inherit;
}
#mixedstream {
@@ -389,13 +399,14 @@
}
#activeSpeakerAvatar {
- visibility: hidden;
width: 100px;
height: 100px;
+ top: 25px;
margin: auto;
position: relative;
border-radius: 50px;
z-index: 2;
+ visibility: inherit;
}
.userAvatar {
diff --git a/etherpad.js b/etherpad.js
index 7ff68e6f1..157fe09b2 100644
--- a/etherpad.js
+++ b/etherpad.js
@@ -42,6 +42,7 @@ var Etherpad = (function (my) {
largeVideo = $('#largeVideo');
if ($('#etherpad>iframe').css('visibility') === 'hidden') {
+ $('#activeSpeaker').css('visibility', 'hidden');
largeVideo.fadeOut(300, function () {
if (Prezi.isPresentationVisible()) {
largeVideo.css({opacity: '0'});
diff --git a/index.html b/index.html
index 955d910b2..1a4a3b228 100644
--- a/index.html
+++ b/index.html
@@ -41,15 +41,15 @@
-
-
+
+
-
+
@@ -66,11 +66,11 @@
-
+
-
+
@@ -264,8 +264,10 @@
powered by jitsi.org
-
-
+