bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/component.jsx

28 lines
563 B
React
Raw Normal View History

import React from 'react';
import VideoProviderContainer from '/imports/ui/components/video-provider/container';
const WebcamComponent = ({
cameraDockBounds,
swapLayout,
}) => (
<div
style={{
position: 'absolute',
top: cameraDockBounds.top,
left: cameraDockBounds.left,
width: cameraDockBounds.width,
height: cameraDockBounds.height,
backgroundColor: 'red',
}}
>
<VideoProviderContainer
{...{
swapLayout,
cameraDockBounds,
}}
/>
</div>
);
export default WebcamComponent;