|
@@ -29,9 +29,9 @@ var JitsiMeetExternalAPI = (function()
|
29
|
29
|
*/
|
30
|
30
|
function JitsiMeetExternalAPI(domain, room_name, width, height, parentNode,
|
31
|
31
|
filmStripOnly) {
|
32
|
|
- if(!width || width < MIN_WIDTH)
|
|
32
|
+ if((!width || width < MIN_WIDTH) && !filmStripOnly)
|
33
|
33
|
width = MIN_WIDTH;
|
34
|
|
- if(!height || height < MIN_HEIGHT)
|
|
34
|
+ if((!height || height < MIN_HEIGHT) && !filmStripOnly)
|
35
|
35
|
height = MIN_HEIGHT;
|
36
|
36
|
|
37
|
37
|
this.parentNode = null;
|
|
@@ -45,8 +45,10 @@ var JitsiMeetExternalAPI = (function()
|
45
|
45
|
this.iframeHolder =
|
46
|
46
|
this.parentNode.appendChild(document.createElement("div"));
|
47
|
47
|
this.iframeHolder.id = "jitsiConference" + JitsiMeetExternalAPI.id;
|
48
|
|
- this.iframeHolder.style.width = width + "px";
|
49
|
|
- this.iframeHolder.style.height = height + "px";
|
|
48
|
+ if(width)
|
|
49
|
+ this.iframeHolder.style.width = width + "px";
|
|
50
|
+ if(height)
|
|
51
|
+ this.iframeHolder.style.height = height + "px";
|
50
|
52
|
this.frameName = "jitsiConferenceFrame" + JitsiMeetExternalAPI.id;
|
51
|
53
|
this.url = "//" + domain + "/";
|
52
|
54
|
if(room_name)
|