Relative Content

Tag Archive for react-nativereact-native-video

react-native-video player issue

useFocusEffect( React.useCallback(() => { // Start playing the video when the screen gains focus if (videoRef.current) { setPlaybackRate(1.0); } // Pause the video when the screen loses focus return () => { if (videoRef.current) { setPlaybackRate(0); console.log(“videoRef!! “,elapsedTime) // Set isVisible to false when tab chang }else{ console.log(“Player Destroyed !! “,elapsedTime) console.log(“Player Destroyed !! “,videoId,videoName) […]

React Native Video Rendering Speed is Slow

I’m developing an app with a feed similar to YouTube Shorts or Instagram Reels. I’m using the react-native-video package to display videos. However, I’m experiencing a delay in video rendering when fetching URLs from my Node.js backend.