File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
client/packages/lowcoder/src/comps/comps/meetingComp Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,15 @@ const Container = styled.div<{ $style: any }>`
6262 ${ ( props ) => props . $style && getStyle ( props . $style ) }
6363` ;
6464
65+ const VideoContainer = styled . video < { $style : any } > `
66+ height: 100%;
67+ width: 100%;
68+ display: flex;
69+ align-items: center;
70+ justify-content: center;
71+ ${ ( props ) => props . $style && getStyle ( props . $style ) }
72+ ` ;
73+
6574const getStyle = ( style : any ) => {
6675 return css `
6776 {
@@ -203,11 +212,12 @@ let VideoCompBuilder = (function (props) {
203212 { ( editorState ) => (
204213 < ReactResizeDetector onResize = { onResize } >
205214 < Container ref = { conRef } $style = { props . style } >
206- < video
215+ < VideoContainer
207216 ref = { videoRef }
217+ $style = { props . style }
208218 id = { props . userId . value }
209- style = { { width : 300 , height : 300 } }
210- > </ video >
219+ > </ VideoContainer >
220+ { /* <video ref={videoRef} style={{ width: 300, height: 300 }} ></video> */ }
211221 </ Container >
212222 </ ReactResizeDetector >
213223 ) }
You can’t perform that action at this time.
0 commit comments