feat(overlays): for filmstrip only mode
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const logger = require("jitsi-meet-logger").getLogger(__filename);
|
||||
|
||||
import { replace } from '../util/helpers';
|
||||
import { reload, replace } from '../util/helpers';
|
||||
|
||||
/**
|
||||
* The modules stores information about the URL used to start the conference and
|
||||
@@ -67,7 +67,14 @@ export default class ConferenceUrl {
|
||||
* Reloads the conference using original URL with all of the parameters.
|
||||
*/
|
||||
reload() {
|
||||
logger.info("Reloading the conference using URL: " + this.originalURL);
|
||||
replace(this.originalURL);
|
||||
logger.info(`Reloading the conference using URL: ${this.originalURL}`);
|
||||
|
||||
// Check if we are in an iframe and reload with the reload() utility
|
||||
// because replace() is not working on an iframe.
|
||||
if(window.self !== window.top) {
|
||||
reload();
|
||||
} else {
|
||||
replace(this.originalURL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user