disable_star_indicator added
This commit is contained in:
parent
92641c20f3
commit
82ebfd9945
|
@ -40,5 +40,6 @@ var interfaceConfig = {
|
||||||
REMOTE_THUMBNAIL_RATIO_WIDTH: 1,
|
REMOTE_THUMBNAIL_RATIO_WIDTH: 1,
|
||||||
REMOTE_THUMBNAIL_RATIO_HEIGHT: 1,
|
REMOTE_THUMBNAIL_RATIO_HEIGHT: 1,
|
||||||
// Enables feedback star animation.
|
// Enables feedback star animation.
|
||||||
ENABLE_FEEDBACK_ANIMATION: false
|
ENABLE_FEEDBACK_ANIMATION: false,
|
||||||
|
DISABLE_FOCUS_INDICATOR: false
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* global $, APP, JitsiMeetJS */
|
/* global $, APP, JitsiMeetJS, interfaceConfig */
|
||||||
/* jshint -W101 */
|
|
||||||
import Avatar from "../avatar/Avatar";
|
import Avatar from "../avatar/Avatar";
|
||||||
import UIUtil from "../util/UIUtil";
|
import UIUtil from "../util/UIUtil";
|
||||||
import UIEvents from "../../../service/UI/UIEvents";
|
import UIEvents from "../../../service/UI/UIEvents";
|
||||||
|
@ -222,7 +221,7 @@ SmallVideo.prototype.getAudioMutedIndicator = function () {
|
||||||
|
|
||||||
audioMutedSpan = document.createElement('span');
|
audioMutedSpan = document.createElement('span');
|
||||||
audioMutedSpan.className = 'audioMuted toolbar-icon';
|
audioMutedSpan.className = 'audioMuted toolbar-icon';
|
||||||
|
|
||||||
UIUtil.setTooltip(audioMutedSpan,
|
UIUtil.setTooltip(audioMutedSpan,
|
||||||
"videothumbnail.mute",
|
"videothumbnail.mute",
|
||||||
"top");
|
"top");
|
||||||
|
@ -277,11 +276,11 @@ SmallVideo.prototype.getVideoMutedIndicator = function () {
|
||||||
|
|
||||||
var mutedIndicator = document.createElement('i');
|
var mutedIndicator = document.createElement('i');
|
||||||
mutedIndicator.className = 'icon-camera-disabled';
|
mutedIndicator.className = 'icon-camera-disabled';
|
||||||
|
|
||||||
UIUtil.setTooltip(mutedIndicator,
|
UIUtil.setTooltip(mutedIndicator,
|
||||||
"videothumbnail.videomute",
|
"videothumbnail.videomute",
|
||||||
"top");
|
"top");
|
||||||
|
|
||||||
videoMutedSpan.appendChild(mutedIndicator);
|
videoMutedSpan.appendChild(mutedIndicator);
|
||||||
|
|
||||||
return $('#' + this.videoSpanId + ' .videoMuted');
|
return $('#' + this.videoSpanId + ' .videoMuted');
|
||||||
|
@ -291,6 +290,8 @@ SmallVideo.prototype.getVideoMutedIndicator = function () {
|
||||||
* Creates the element indicating the moderator(owner) of the conference.
|
* Creates the element indicating the moderator(owner) of the conference.
|
||||||
*/
|
*/
|
||||||
SmallVideo.prototype.createModeratorIndicatorElement = function () {
|
SmallVideo.prototype.createModeratorIndicatorElement = function () {
|
||||||
|
// don't create moderator indicator if DISABLE_FOCUS_INDICATOR is true
|
||||||
|
if (interfaceConfig.DISABLE_FOCUS_INDICATOR) return false;
|
||||||
// Show moderator indicator
|
// Show moderator indicator
|
||||||
var indicatorSpan = $('#' + this.videoSpanId + ' .focusindicator');
|
var indicatorSpan = $('#' + this.videoSpanId + ' .focusindicator');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue