|
@@ -23,9 +23,12 @@ var JitsiMeetExternalAPI = (function()
|
23
|
23
|
* @param width width of the iframe
|
24
|
24
|
* @param height height of the iframe
|
25
|
25
|
* @param parent_node the node that will contain the iframe
|
|
26
|
+ * @param filmStripOnly if the value is true only the small videos will be
|
|
27
|
+ * visible.
|
26
|
28
|
* @constructor
|
27
|
29
|
*/
|
28
|
|
- function JitsiMeetExternalAPI(domain, room_name, width, height, parentNode) {
|
|
30
|
+ function JitsiMeetExternalAPI(domain, room_name, width, height, parentNode,
|
|
31
|
+ filmStripOnly) {
|
29
|
32
|
if(!width || width < MIN_WIDTH)
|
30
|
33
|
width = MIN_WIDTH;
|
31
|
34
|
if(!height || height < MIN_HEIGHT)
|
|
@@ -49,6 +52,9 @@ var JitsiMeetExternalAPI = (function()
|
49
|
52
|
if(room_name)
|
50
|
53
|
this.url += room_name;
|
51
|
54
|
this.url += "#external=true";
|
|
55
|
+ if(filmStripOnly)
|
|
56
|
+ this.url += "&config.filmStripOnly=true";
|
|
57
|
+
|
52
|
58
|
JitsiMeetExternalAPI.id++;
|
53
|
59
|
|
54
|
60
|
this.frame = document.createElement("iframe");
|