repo: janusweb action: commit revision: path_from: revision_from: b4e6b0a9d2b2f594c6319ab3c7cd7547b83fcca2: path_to: revision_to:
commit b4e6b0a9d2b2f594c6319ab3c7cd7547b83fcca2 Author: James BaicoianuDate: Tue Mar 27 14:21:08 2018 -0700 Disabled party mode and VR button special case diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -103,8 +103,8 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
positions: []
};
- this.updateVRButton();
- this.party_mode = this.getSetting('partymode.enabled', true);
+ //this.updateVRButton();
+ this.party_mode = this.getSetting('partymode.enabled', false);
}
this.createChildren = function() {
elation.engine.things.janusplayer.extendclass.createChildren.call(this);
@@ -159,7 +159,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
}
this.updateHMD = function(vrdevice) {
if (vrdevice && !this.vrbutton) {
- this.updateVRButton();
+ //this.updateVRButton();
}
elation.engine.things.janusplayer.extendclass.updateHMD.call(this, vrdevice);
}
-----END OF PAGE-----