mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-06-19 03:11:20 +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 />
|
<SubtitlesIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</CustomFontTooltip>
|
</CustomFontTooltip>
|
||||||
<PictureInPictureButton togglePictureInPicture={togglePictureInPicture} />
|
{/* <PictureInPictureButton togglePictureInPicture={togglePictureInPicture} /> */}
|
||||||
<FullscreenButton toggleFullscreen={toggleFullscreen} />
|
<FullscreenButton toggleFullscreen={toggleFullscreen} />
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -134,10 +134,10 @@ const margin = 50;
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
||||||
rndRef.current.updatePosition({
|
rndRef.current.updatePosition({
|
||||||
x: window.innerWidth - 400 - margin,
|
x: window.innerWidth - (width || 400) - margin,
|
||||||
y: window.innerHeight - 300 - margin,
|
y: window.innerHeight - (height || 300) - margin,
|
||||||
width: 400,
|
width: width || 400,
|
||||||
height: 300
|
height: height || 300
|
||||||
});
|
});
|
||||||
}, [videoSrc]);
|
}, [videoSrc]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user