Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(device_selection_popup): URL

hristoterezov893d08d614fe
diff --git a/react/features/device-selection/actions.js b/react/features/device-selection/actions.js
index f5b922591f..ade0678c62 100644
--- a/react/features/device-selection/actions.js
+++ b/react/features/device-selection/actions.js
@@ -79,8 +79,9 @@ function _openDeviceSelectionDialogInPopup() {
// API_ID will always be defined because the iframe api is enabled
const scope = `dialog_${API_ID}`;
- const url = `static/deviceSelectionPopup.html#scope=${
- encodeURIComponent(JSON.stringify(scope))}`;
+ const url = `${
+ window.location.origin}/static/deviceSelectionPopup.html#scope=${
+ encodeURIComponent(JSON.stringify(scope))}`;
const popup
= window.open(
url,