mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-06-18 19:01:21 +00:00
fix defaults
This commit is contained in:
parent
275ddc4ac8
commit
e32f98e1b0
@ -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>
|
||||
|
@ -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]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user