restore the player as it was

This commit is contained in:
r3rex 2025-10-03 01:22:39 +04:00
parent 25076eeb65
commit 9984d8b192

View File

@ -58,11 +58,11 @@ export default function VideoJS(props) {
direction="column"
justifyContent="center"
alignItems="center"
wrap="nowrap"
style={{ position: 'absolute', top: 0, left: 0, bottom: 0, right: 0, margin: 0 }}
spacing={2}
style={{ position: 'absolute', top: 0, left: 0, bottom: 0, right: 0 }}
>
<div data-vjs-player style={{ width: '100%', height: '100%' }}>
<video ref={videoRef} controls playsInline style={{ width: '100%', height: '100%' }} />
<div data-vjs-player>
<video ref={videoRef} controls playsInline />
</div>
</Grid>
);