Skip to content

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

Changed variable from ssl to noSsl

Aaron Ogle98919e099642
diff --git a/external_api.js b/external_api.js
index 26688ac600..2a858dbd80 100644
--- a/external_api.js
+++ b/external_api.js
@@ -25,11 +25,11 @@ var JitsiMeetExternalAPI = (function()
* @param parent_node the node that will contain the iframe
* @param filmStripOnly if the value is true only the small videos will be
* visible.
- * @param ssl if the value is true https will be used on the iframe
+ * @param noSsl if the value is true https won't be used
* @constructor
*/
function JitsiMeetExternalAPI(domain, room_name, width, height, parentNode,
- configOverwrite, interfaceConfigOverwrite, ssl) {
+ configOverwrite, interfaceConfigOverwrite, noSsl) {
if (!width || width < MIN_WIDTH)
width = MIN_WIDTH;
if (!height || height < MIN_HEIGHT)
@@ -51,7 +51,7 @@ var JitsiMeetExternalAPI = (function()
if(height)
this.iframeHolder.style.height = height + "px";
this.frameName = "jitsiConferenceFrame" + JitsiMeetExternalAPI.id;
- this.url = (ssl) ? "https:" : "" +"//" + domain + "/";
+ this.url = (noSsl) ? "http" : "https" +"://" + domain + "/";
if(room_name)
this.url += room_name;
this.url += "#external=true";