diff --git a/src/components/VideoPlayer/VideoControlsBar.tsx b/src/components/VideoPlayer/VideoControlsBar.tsx
index ef5a3c2..8a3810c 100644
--- a/src/components/VideoPlayer/VideoControlsBar.tsx
+++ b/src/components/VideoPlayer/VideoControlsBar.tsx
@@ -113,7 +113,7 @@ export const VideoControlsBar = ({subtitleBtnRef, showControls, playbackRate, in
-
+ {/* */}
diff --git a/src/hooks/useGlobalPipPlayer.tsx b/src/hooks/useGlobalPipPlayer.tsx
index 3270df3..20a3bb9 100644
--- a/src/hooks/useGlobalPipPlayer.tsx
+++ b/src/hooks/useGlobalPipPlayer.tsx
@@ -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]);