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(iframe_api): Getter for the iframe
hristoterezovcc6fcfd982f0
diff --git a/doc/api.md b/doc/api.mdindex a044d55921..eba26cc49f 100644--- a/doc/api.md+++ b/doc/api.md@@ -234,6 +234,11 @@ You can get the number of participants in the conference with the following APIvar numberOfParticipants = api.getNumberOfParticipants();```+You can get the iframe HTML element where Jitsi Meet is loaded with the following API function:+```javascript+var iframe = api.getIFrame();+```+You can remove the embedded Jitsi Meet Conference with the following API function:```javascriptapi.dispose()diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.jsindex c651a97e0e..b7e33cdb0b 100644--- a/modules/API/external/external_api.js+++ b/modules/API/external/external_api.js@@ -413,6 +413,15 @@ export default class JitsiMeetExternalAPI extends EventEmitter {}}+ /**+ * Returns the iframe that loads Jitsi Meet.+ *+ * @returns {HTMLElement} The iframe.+ */+ getIFrame() {+ return this.frame;+ }+/*** Returns the number of participants in the conference. The local* participant is included.