LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
598 stars 153 forks source link

When playing a video settings options opens #256

Open danteallievi opened 2 years ago

danteallievi commented 2 years ago

Describe the bug

When i have the inside a and I play a video it opens the settings options. This bug only happens to me when I use it on an android or huawei device (in android studio I can't reproduce the bug). I've found a similar StackOverflow issue post

https://stackoverflow.com/questions/66021313/youtube-embedded-video-shows-developer-options-when-click-play-button-on-android

To Reproduce

Use a Android or Huawei mobile and try to add a touchable in the background to close the . It only happends when i try to swipe a story up in the react-native-insta-story package.

Expected behavior

It just should open the player without the button being pressed.

Screenshots

If applicable, add screenshots to help explain your problem.

https://user-images.githubusercontent.com/69265381/171439923-1869a751-0f70-4c76-bb99-7f9bdeb32998.mp4

Smartphone:

denizmersinlioglu commented 2 years ago

Any updates?

brunolcarlos commented 1 year ago

Same problem

AlekseyLupach commented 1 year ago

Same problem

JackBimson commented 1 year ago

+1. Has anyone been able to get pass through? Appreciate any help.

nazam1998 commented 1 year ago

@JackBimson Honestly, not yet The only solution I had was to move the video player out of the Modal. From what I understand, the issue is caused by the fact that the video player is inside a ScrollView inside a Modal (if you are using react-native-modalize, it used a ScollView by default)