diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 5401cd6e12..c5bf465a0c 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -998,6 +998,13 @@ module.exports = React.createClass({ } }, + onFullscreenClick: function() { + dis.dispatch({ + action: 'video_fullscreen', + fullscreen: true + }, true); + }, + onMuteAudioClick: function() { var call = CallHandler.getCallForRoom(this.props.roomId); if (!call) { @@ -1204,17 +1211,22 @@ module.exports = React.createClass({ var inCall = false; if (call && this.state.callState != 'ended') { inCall = true; - //var muteVideoButton; - var voiceMuteButton, videoMuteButton; + var zoomButton, voiceMuteButton, videoMuteButton; if (call.type === "video") { + zoomButton = ( +