"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bigbluebutton-html5/imports/ui/components/media/component.jsx" between
bigbluebutton-2.3.6.tar.gz and bigbluebutton-2.3.7.tar.gz

About: BigBlueButton is a complete web conferencing system (mainly designed for online learning).

component.jsx  (bigbluebutton-2.3.6):component.jsx  (bigbluebutton-2.3.7)
skipping to change at line 21 skipping to change at line 21
const propTypes = { const propTypes = {
children: PropTypes.element.isRequired, children: PropTypes.element.isRequired,
usersVideo: PropTypes.arrayOf(Array), usersVideo: PropTypes.arrayOf(Array),
singleWebcam: PropTypes.bool.isRequired, singleWebcam: PropTypes.bool.isRequired,
hideOverlay: PropTypes.bool, hideOverlay: PropTypes.bool,
swapLayout: PropTypes.bool, swapLayout: PropTypes.bool,
disableVideo: PropTypes.bool, disableVideo: PropTypes.bool,
audioModalIsOpen: PropTypes.bool, audioModalIsOpen: PropTypes.bool,
layoutContextState: PropTypes.instanceOf(Object).isRequired, layoutContextState: PropTypes.instanceOf(Object).isRequired,
isRTL: PropTypes.bool.isRequired,
}; };
const defaultProps = { const defaultProps = {
usersVideo: [], usersVideo: [],
hideOverlay: true, hideOverlay: true,
swapLayout: false, swapLayout: false,
disableVideo: false, disableVideo: false,
audioModalIsOpen: false, audioModalIsOpen: false,
}; };
skipping to change at line 48 skipping to change at line 49
const { const {
swapLayout, swapLayout,
singleWebcam, singleWebcam,
hideOverlay, hideOverlay,
disableVideo, disableVideo,
children, children,
audioModalIsOpen, audioModalIsOpen,
usersVideo, usersVideo,
layoutContextState, layoutContextState,
isMeteorConnected, isMeteorConnected,
isRTL,
} = this.props; } = this.props;
const { webcamsPlacement: placement } = layoutContextState; const { webcamsPlacement: placement } = layoutContextState;
const placementStorage = Storage.getItem('webcamsPlacement'); const placementStorage = Storage.getItem('webcamsPlacement');
const webcamsPlacement = placement || placementStorage; const webcamsPlacement = placement || placementStorage;
const contentClassName = cx({ const contentClassName = cx({
[styles.content]: true, [styles.content]: true,
}); });
skipping to change at line 119 skipping to change at line 121
{showVideo ? ( {showVideo ? (
<WebcamDraggable <WebcamDraggable
refMediaContainer={this.refContainer} refMediaContainer={this.refContainer}
swapLayout={swapLayout} swapLayout={swapLayout}
singleWebcam={singleWebcam} singleWebcam={singleWebcam}
usersVideoLenght={usersVideo.length} usersVideoLenght={usersVideo.length}
hideOverlay={hideOverlay} hideOverlay={hideOverlay}
disableVideo={disableVideo} disableVideo={disableVideo}
audioModalIsOpen={audioModalIsOpen} audioModalIsOpen={audioModalIsOpen}
usersVideo={usersVideo} usersVideo={usersVideo}
isRTL={isRTL}
/> />
) : null} ) : null}
</div> </div>
); );
} }
} }
Media.propTypes = propTypes; Media.propTypes = propTypes;
Media.defaultProps = defaultProps; Media.defaultProps = defaultProps;
 End of changes. 3 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)