bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/component.jsx
2021-06-21 17:16:59 -03:00

28 lines
563 B
JavaScript

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;