Open karthiksiroid opened 6 days ago
Thank you for your issue report. Please note that the following information is missing or incomplete:
Please update your issue with this information to help us address it more effectively.
Note: issues without complete information have a lower priority
There is a newer version of the library available. You are using version 6.4.4, while the latest stable version is 6.8.0. Please update to the latest version and check if the issue still exists.
Note: If the issue still exists, please update the issue report with the latest information.
Issue still exists with version 6.8.0
Hi @karthiksiroid, thanks for reporting issue. Does it happening with all videos, or just specific one?
Version
6.4.4
What platforms are you having the problem on?
Android
System Version
React native 0.75.4
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
On Android, the video freezes on the first frame during the initial playback, but the audio plays without any issues. However, if you pause and then play the video again, it works fine.... Video has to pause and play again when freezes
Reproduction Link
repository link
Reproduction
Step to reproduce this bug are: 1.The video is frozen, but the audio is still playing. 2.When the video is paused and then played again, both the video and audio work perfectly. 3/When the video is paused, it pauses correctly. 4.When the play button is pressed, the video freezes, but the audio continues playing. 5.When the video is paused and then played again, the video works fine.
<Pressable style={{width:'100%',height:'100%'}} onPress={()=> setVideoPuse((prev) => !prev)}> <Video source={{ uri: item?.media }} style={styles.media} resizeMode="cover" paused={!VideoPlay || !isScreenFocused || currentIndex !== index || videoPuse} onEnd={()=>handleVideoEnd} repeat ignoreSilentSwitch="ignore" playInBackground={false} /> <TouchableOpacity onPress={() => setVideoPuse((prev) => !prev)} style={styles.PauseButton}> {!videoPuse ? undefined : }
!!!!...It is working on ios perfectly..facing issues only in android devices