react-native-youtube-iframe
react-native-youtube-iframe copied to clipboard
Previously paused video was playing instead of current video
Describe the bug When we pause the current video and if we were swipe up for next video means the current video(I mean next Video) get paused in couple of seconds and previous video was playing in the background
To Reproduce Steps to reproduce the behavior: 1.Pause the current video in middle of playback 2.Swipe up or down to go for next video
Expected behavior while swipe up or down user will able to play the current video
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: Samsung galaxy s21 ultra
- OS + version: Android 13
react-native-youtube-iframeversion - 2.2.5react-native-webviewversion- 11.24.0
Note In IOS it was working fine and smooth
Additional context I just referred this page as example for my coding Creating youtube shorts component in react-native
@pluvd7j This sounds more like a general react issue, e.g. reuse of existing elements. Did you make sure your list really returned a unique id for each video, so the keyExtractor is always assigning a unique key?
Hello @pluvd7j have you solved this issue?