fix defaults

This commit is contained in:
PhilReact 2025-06-17 18:31:02 +03:00
parent 275ddc4ac8
commit e32f98e1b0
2 changed files with 5 additions and 5 deletions

View File

@ -113,7 +113,7 @@ export const VideoControlsBar = ({subtitleBtnRef, showControls, playbackRate, in
<SubtitlesIcon />
</IconButton>
</CustomFontTooltip>
<PictureInPictureButton togglePictureInPicture={togglePictureInPicture} />
{/* <PictureInPictureButton togglePictureInPicture={togglePictureInPicture} /> */}
<FullscreenButton toggleFullscreen={toggleFullscreen} />
</Box>
</Box>

View File

@ -134,10 +134,10 @@ const margin = 50;
useEffect(() => {
rndRef.current.updatePosition({
x: window.innerWidth - 400 - margin,
y: window.innerHeight - 300 - margin,
width: 400,
height: 300
x: window.innerWidth - (width || 400) - margin,
y: window.innerHeight - (height || 300) - margin,
width: width || 400,
height: height || 300
});
}, [videoSrc]);