Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(external_api): Return external resources for the always on top.
hristoterezovda9e3fb63e39
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.jsindex 92d83d18e4..8da4efd489 100644--- a/modules/API/external/external_api.js+++ b/modules/API/external/external_api.js@@ -8,6 +8,10 @@ import {const logger = require('jitsi-meet-logger').getLogger(__filename);+const ALWAYS_ON_TOP_FILENAMES = [+ 'css/alwaysontop.css', 'libs/alwaysontop.bundle.min.js'+];+/*** Maps the names of the commands expected by the API with the name of the* commands expected by jitsi-meet@@ -207,6 +211,9 @@ export default class JitsiMeetExternalAPI extends EventEmitter {noSSL,roomName});+ this._baseUrl = generateURL(domain, {+ noSSL+ });this._createIFrame(height, width);this._transport = new Transport({backend: new PostMessageTransportBackend({@@ -245,6 +252,17 @@ export default class JitsiMeetExternalAPI extends EventEmitter {this._frame = this._parentNode.appendChild(this._frame);}+ /**+ * Returns arrays with the all resources for the always on top feature.+ *+ * @returns {Array<string>}+ */+ _getAlwaysOnTopResources() {+ return ALWAYS_ON_TOP_FILENAMES.map(+ filename => this._baseUrl + filename+ );+ }+/*** Sets the size of the iframe element.*