[mirotalksfu] - fix widget buttons order
هذا الالتزام موجود في:
@@ -226,7 +226,6 @@ class MiroTalkWidget {
|
|||||||
const buttons = [
|
const buttons = [
|
||||||
{ action: 'startAudioCall', icon: this.getAudioIcon(), text: 'Start Audio Call' },
|
{ action: 'startAudioCall', icon: this.getAudioIcon(), text: 'Start Audio Call' },
|
||||||
{ action: 'startVideoCall', icon: this.getVideoIcon(), text: 'Start Video Call' },
|
{ action: 'startVideoCall', icon: this.getVideoIcon(), text: 'Start Video Call' },
|
||||||
{ action: 'joinRoom', icon: this.getJoinIcon(), text: 'Join Room' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// Only show "Start Screen Share" if displayMedia is supported
|
// Only show "Start Screen Share" if displayMedia is supported
|
||||||
@@ -234,6 +233,9 @@ class MiroTalkWidget {
|
|||||||
buttons.push({ action: 'startScreenShare', icon: this.getScreenIcon(), text: 'Start Screen Share' });
|
buttons.push({ action: 'startScreenShare', icon: this.getScreenIcon(), text: 'Start Screen Share' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Insert "Start Screen Share" before "Join Room" if present
|
||||||
|
buttons.push({ action: 'joinRoom', icon: this.getJoinIcon(), text: 'Join Room' });
|
||||||
|
|
||||||
return buttons
|
return buttons
|
||||||
.map(
|
.map(
|
||||||
(btn) => `
|
(btn) => `
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم