try changing video player

This commit is contained in:
r3rex 2025-10-03 01:20:07 +04:00
parent baed33b565
commit 25076eeb65

View File

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