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 }>`
62
62
${ ( props ) => props . $style && getStyle ( props . $style ) }
63
63
` ;
64
64
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
+
65
74
const getStyle = ( style : any ) => {
66
75
return css `
67
76
{
@@ -203,11 +212,12 @@ let VideoCompBuilder = (function (props) {
203
212
{ ( editorState ) => (
204
213
< ReactResizeDetector onResize = { onResize } >
205
214
< Container ref = { conRef } $style = { props . style } >
206
- < video
215
+ < VideoContainer
207
216
ref = { videoRef }
217
+ $style = { props . style }
208
218
id = { props . userId . value }
209
- style = { { width : 300 , height : 300 } }
210
- > </ video >
219
+ > </ VideoContainer >
220
+ { /* <video ref={videoRef} style={{ width: 300, height: 300 }} ></video> */ }
211
221
</ Container >
212
222
</ ReactResizeDetector >
213
223
) }
You can’t perform that action at this time.
0 commit comments