[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -57,6 +57,8 @@
|
|||||||
--videoObjFit: cover;
|
--videoObjFit: cover;
|
||||||
|
|
||||||
--dd-color: #ffffff;
|
--dd-color: #ffffff;
|
||||||
|
|
||||||
|
--videoBar-active: 0.1px solid rgba(102, 190, 255, 0.32);
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|||||||
@@ -1801,12 +1801,12 @@ class RoomClient {
|
|||||||
// HELPERS
|
// HELPERS
|
||||||
// ####################################################
|
// ####################################################
|
||||||
|
|
||||||
createButton = (id, className) => {
|
createButton(id, className) {
|
||||||
const button = document.createElement('button');
|
const button = document.createElement('button');
|
||||||
button.id = id;
|
button.id = id;
|
||||||
button.className = className;
|
button.className = className;
|
||||||
return button;
|
return button;
|
||||||
};
|
}
|
||||||
|
|
||||||
// ####################################################
|
// ####################################################
|
||||||
// PRODUCER
|
// PRODUCER
|
||||||
@@ -2275,13 +2275,6 @@ class RoomClient {
|
|||||||
eVc = document.createElement('div');
|
eVc = document.createElement('div');
|
||||||
eVc.className = 'expand-video-content';
|
eVc.className = 'expand-video-content';
|
||||||
|
|
||||||
pv = document.createElement('input');
|
|
||||||
pv.id = remotePeerId + '___pVolume';
|
|
||||||
pv.type = 'range';
|
|
||||||
pv.min = 0;
|
|
||||||
pv.max = 100;
|
|
||||||
pv.value = 100;
|
|
||||||
|
|
||||||
pip = this.createButton(id + '__pictureInPicture', html.pip);
|
pip = this.createButton(id + '__pictureInPicture', html.pip);
|
||||||
mv = this.createButton(id + '__videoMirror', html.mirror);
|
mv = this.createButton(id + '__videoMirror', html.mirror);
|
||||||
fs = this.createButton(id + '__fullScreen', html.fullScreen);
|
fs = this.createButton(id + '__fullScreen', html.fullScreen);
|
||||||
@@ -2327,6 +2320,13 @@ class RoomClient {
|
|||||||
|
|
||||||
peerNameContainer.appendChild(peerNameSpan);
|
peerNameContainer.appendChild(peerNameSpan);
|
||||||
|
|
||||||
|
pv = document.createElement('input');
|
||||||
|
pv.id = remotePeerId + '___pVolume';
|
||||||
|
pv.type = 'range';
|
||||||
|
pv.min = 0;
|
||||||
|
pv.max = 100;
|
||||||
|
pv.value = 100;
|
||||||
|
|
||||||
BUTTONS.consumerVideo.audioVolumeInput && peerNameContainer.appendChild(pv);
|
BUTTONS.consumerVideo.audioVolumeInput && peerNameContainer.appendChild(pv);
|
||||||
peerNameHeader.appendChild(peerNameContainer);
|
peerNameHeader.appendChild(peerNameContainer);
|
||||||
|
|
||||||
@@ -3545,7 +3545,7 @@ class RoomClient {
|
|||||||
rc.sound('open');
|
rc.sound('open');
|
||||||
show(videoBar);
|
show(videoBar);
|
||||||
animateCSS(videoBar, 'fadeInDown');
|
animateCSS(videoBar, 'fadeInDown');
|
||||||
if (participantsCount > 1) videoPlayer.style.border = '0.1px solid #2a7aef';
|
if (participantsCount > 1) videoPlayer.style.border = 'var(--videoBar-active)';
|
||||||
} else {
|
} else {
|
||||||
animateCSS(videoBar, 'fadeOutUp').then((msg) => {
|
animateCSS(videoBar, 'fadeOutUp').then((msg) => {
|
||||||
hide(videoBar);
|
hide(videoBar);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم