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 IE redirect problem

Ilya Daynatovichc7f374009950
diff --git a/conference.js b/conference.js
index 89f9c19546..36d54c591a 100644
--- a/conference.js
+++ b/conference.js
@@ -664,7 +664,7 @@ export default {
* false.
*/
isCallstatsEnabled () {
- return room.isCallstatsEnabled();
+ return room && room.isCallstatsEnabled();
},
/**
* Sends the given feedback through CallStats if enabled.
diff --git a/react/features/base/lib-jitsi-meet/_.web.js b/react/features/base/lib-jitsi-meet/_.web.js
index 9c2ca8a136..ea111d7f8f 100644
--- a/react/features/base/lib-jitsi-meet/_.web.js
+++ b/react/features/base/lib-jitsi-meet/_.web.js
@@ -1,5 +1,8 @@
/* @flow */
+// Polyfill URL for Internet Explorer.
+import 'url-polyfill';
+
declare var JitsiMeetJS: Object;
export default JitsiMeetJS;
diff --git a/webpack.config.js b/webpack.config.js
index b6aaec8182..8d31ab60a8 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -99,6 +99,11 @@ var config = {
loader: 'imports-loader?define=>false&this=>window',
test: strophe
+ }, {
+ // Set scope to window for URL polyfill.
+
+ loader: 'imports-loader?this=>window',
+ test: /\/node_modules\/url-polyfill\/.*\.js$/
}, {
// Allow CSS to be imported into JavaScript.