diff --git a/components/BigVideoCard.tsx b/components/BigVideoCard.tsx index fb1e45e..c8a0943 100644 --- a/components/BigVideoCard.tsx +++ b/components/BigVideoCard.tsx @@ -27,6 +27,7 @@ interface Props { export function BigVideoCard({ item, isVisible, onPress }: Props) { const { width: SCREEN_W } = useWindowDimensions(); const THUMB_H = SCREEN_W * 0.5625; + const mediaDimensions = { width: SCREEN_W - 8, height: THUMB_H }; const [videoUrl, setVideoUrl] = useState(); const [isDash, setIsDash] = useState(false); @@ -72,6 +73,7 @@ export function BigVideoCard({ item, isVisible, onPress }: Props) { console.warn('BigVideoCard: failed to load play URL', e); } })(); + // videoUrl intentionally excluded — re-fetch guard prevents redundant fetches after URL is set }, [isVisible, item.bvid]); // Pause/resume when visibility changes @@ -97,12 +99,12 @@ export function BigVideoCard({ item, isVisible, onPress }: Props) { return ( {/* Media area */} - + {/* Thumbnail */}