diff --git a/src/client/channel/components/ChannelMedia.tsx b/src/client/channel/components/ChannelMedia.tsx index 03d77ce27..5ef1d45ba 100644 --- a/src/client/channel/components/ChannelMedia.tsx +++ b/src/client/channel/components/ChannelMedia.tsx @@ -482,7 +482,7 @@ export function ChannelVideo({ stream, owned, localSource, sourcePaused = false, const playbackRef = useMemo(() => ({ current: activeVideo }), [activeVideo]); const picture = usePictureInPicture(playbackRef); const previewPlayback = useHostPreviewPlayback(playbackRef, owned ? displayed?.stream ?? null : null, previewAutoPause, localSource); - useAnchoredPopover(pictureTrigger, picturePanel, { side: "above", align: "center" }); + useAnchoredPopover(pictureTrigger, picturePanel, { align: "center", maxHeight: 360, minVisibleHeight: 240 }); useLayoutEffect(() => { if (presentation === "background") picturePanel.current?.hidePopover(); }, [presentation]); const visibility = usePlaybackControlsVisibility(playbackRef, controls, blocked || !ready); const register = useCallback((input: ChannelScreenInput, element: HTMLVideoElement | null) => {