Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previously paused video was playing instead of current video #292

Open
pluvd7j opened this issue Feb 17, 2023 · 2 comments
Open

Previously paused video was playing instead of current video #292

pluvd7j opened this issue Feb 17, 2023 · 2 comments

Comments

@pluvd7j
Copy link

pluvd7j commented Feb 17, 2023

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-iframe version - 2.2.5
  • react-native-webview version- 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 pluvd7j changed the title Previous paused video was playing instead of current video Previously paused video was playing instead of current video Feb 17, 2023
@sreuter
Copy link

sreuter commented Aug 1, 2023

@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?

@HasanAlyazidi
Copy link

Hello @pluvd7j have you solved this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@sreuter @HasanAlyazidi @pluvd7j and others