|
@@ -25,11 +25,11 @@ var JitsiMeetExternalAPI = (function()
|
25
|
25
|
* @param parent_node the node that will contain the iframe
|
26
|
26
|
* @param filmStripOnly if the value is true only the small videos will be
|
27
|
27
|
* visible.
|
28
|
|
- * @param ssl if the value is true https will be used on the iframe
|
|
28
|
+ * @param noSsl if the value is true https won't be used
|
29
|
29
|
* @constructor
|
30
|
30
|
*/
|
31
|
31
|
function JitsiMeetExternalAPI(domain, room_name, width, height, parentNode,
|
32
|
|
- configOverwrite, interfaceConfigOverwrite, ssl) {
|
|
32
|
+ configOverwrite, interfaceConfigOverwrite, noSsl) {
|
33
|
33
|
if (!width || width < MIN_WIDTH)
|
34
|
34
|
width = MIN_WIDTH;
|
35
|
35
|
if (!height || height < MIN_HEIGHT)
|
|
@@ -51,7 +51,7 @@ var JitsiMeetExternalAPI = (function()
|
51
|
51
|
if(height)
|
52
|
52
|
this.iframeHolder.style.height = height + "px";
|
53
|
53
|
this.frameName = "jitsiConferenceFrame" + JitsiMeetExternalAPI.id;
|
54
|
|
- this.url = (ssl) ? "https:" : "" +"//" + domain + "/";
|
|
54
|
+ this.url = (noSsl) ? "http" : "https" +"://" + domain + "/";
|
55
|
55
|
if(room_name)
|
56
|
56
|
this.url += room_name;
|
57
|
57
|
this.url += "#external=true";
|