[mirotalksfu] - rb
هذا الالتزام موجود في:
@@ -1475,7 +1475,11 @@ class RoomClient {
|
||||
this.videoMediaContainer.style.left = 0;
|
||||
this.pinnedVideoPlayerId = null;
|
||||
this.isVideoPinned = false;
|
||||
BtnVideoObjectFit.selectedIndex = 2; // cover
|
||||
}
|
||||
|
||||
adaptVideoObjectFit(index) {
|
||||
// 1 (cover) 2 (contain)
|
||||
BtnVideoObjectFit.selectedIndex = index;
|
||||
BtnVideoObjectFit.onchange();
|
||||
}
|
||||
|
||||
@@ -1900,8 +1904,6 @@ class RoomClient {
|
||||
this.videoPinMediaContainer.appendChild(cam);
|
||||
this.videoPinMediaContainer.style.display = 'block';
|
||||
this.pinnedVideoPlayerId = elemId;
|
||||
BtnVideoObjectFit.selectedIndex = 1; // contain
|
||||
BtnVideoObjectFit.onchange();
|
||||
setColor(btnPn, 'lime');
|
||||
} else {
|
||||
if (this.pinnedVideoPlayerId != videoPlayer.id) {
|
||||
@@ -1921,8 +1923,6 @@ class RoomClient {
|
||||
this.videoMediaContainer.appendChild(cam);
|
||||
this.videoPinMediaContainer.style.display = 'none';
|
||||
this.pinnedVideoPlayerId = null;
|
||||
BtnVideoObjectFit.selectedIndex = 2; // cover
|
||||
BtnVideoObjectFit.onchange();
|
||||
setColor(btnPn, 'white');
|
||||
}
|
||||
handleAspectRatio();
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم