[mirotalksfu] - improvements
هذا الالتزام موجود في:
@@ -2110,7 +2110,7 @@ function handleMediaError(mediaType, err, redirectURL = false) {
|
||||
);
|
||||
}
|
||||
|
||||
function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = false) {
|
||||
function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = false, reloadPage = false) {
|
||||
Swal.fire({
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false,
|
||||
@@ -2123,8 +2123,13 @@ function popupHtmlMessage(icon, imageUrl, title, html, position, redirectURL = f
|
||||
showClass: { popup: 'animate__animated animate__fadeInDown' },
|
||||
hideClass: { popup: 'animate__animated animate__fadeOutUp' },
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed && redirectURL) {
|
||||
openURL(redirectURL);
|
||||
if (result.isConfirmed) {
|
||||
if (redirectURL) {
|
||||
return openURL(redirectURL);
|
||||
}
|
||||
if (reloadPage) {
|
||||
location.href = location.href;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -704,6 +704,8 @@ class RoomClient {
|
||||
'Producer Transport disconnected',
|
||||
'Check Your Network Connectivity (Restarted ICE)',
|
||||
'center',
|
||||
false,
|
||||
true
|
||||
);
|
||||
*/
|
||||
break;
|
||||
@@ -718,6 +720,8 @@ class RoomClient {
|
||||
'Producer Transport failed',
|
||||
'Check Your Network Connectivity',
|
||||
'center',
|
||||
false,
|
||||
true,
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -787,6 +791,8 @@ class RoomClient {
|
||||
'Consumer Transport disconnected',
|
||||
'Check Your Network Connectivity (Restarted ICE)',
|
||||
'center',
|
||||
false,
|
||||
true
|
||||
);
|
||||
*/
|
||||
case 'failed':
|
||||
@@ -800,6 +806,8 @@ class RoomClient {
|
||||
'Consumer Transport failed',
|
||||
'Check Your Network Connectivity',
|
||||
'center',
|
||||
false,
|
||||
true,
|
||||
);
|
||||
break;
|
||||
default:
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم