fix(filmstrip_only): JS errors

This commit is contained in:
hristoterezov 2017-01-11 16:43:21 -06:00
parent 7ec5b34548
commit 0f9bc766db
2 changed files with 4 additions and 2 deletions

View File

@ -506,8 +506,10 @@ export default {
this.isDesktopSharingEnabled = this.isDesktopSharingEnabled =
JitsiMeetJS.isDesktopSharingEnabled(); JitsiMeetJS.isDesktopSharingEnabled();
if (UIUtil.isButtonEnabled('contacts')) if (UIUtil.isButtonEnabled('contacts')
&& !interfaceConfig.filmStripOnly) {
APP.UI.ContactList = new ContactList(room); APP.UI.ContactList = new ContactList(room);
}
// if user didn't give access to mic or camera or doesn't have // if user didn't give access to mic or camera or doesn't have
// them at all, we disable corresponding toolbar buttons // them at all, we disable corresponding toolbar buttons

View File

@ -636,7 +636,7 @@ var VideoLayout = {
// Update the large video if the video source is already available, // Update the large video if the video source is already available,
// otherwise wait for the "videoactive.jingle" event. // otherwise wait for the "videoactive.jingle" event.
// FIXME: there is no "videoactive.jingle" event. // FIXME: there is no "videoactive.jingle" event.
if (!pinnedId if (!interfaceConfig.filmStripOnly && !pinnedId
&& remoteVideo.hasVideoStarted() && remoteVideo.hasVideoStarted()
&& !this.getCurrentlyOnLargeContainer().stayOnStage()) { && !this.getCurrentlyOnLargeContainer().stayOnStage()) {
this.updateLargeVideo(id); this.updateLargeVideo(id);