react-native-youtube-iframe icon indicating copy to clipboard operation
react-native-youtube-iframe copied to clipboard

When playing a video settings options opens

Open danteallievi opened this issue 2 years ago • 5 comments

Describe the bug

When i have the <YoutubePlayer /> inside a <TouchableWithotFeedback /> 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 <YoutubePlayer />. 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:

  • Device: Samsung 9+ or Huawei P30
  • Android 12
  • react-native-youtube-iframe version 2.1.1
  • react-native-webview version 11.15.0
  • Expo verison 44.0.0

danteallievi avatar Jun 01 '22 15:06 danteallievi

Any updates?

denizmersinlioglu avatar Aug 10 '22 13:08 denizmersinlioglu

Same problem

brunolcarlos avatar Nov 24 '22 22:11 brunolcarlos

Same problem

AlekseyLupach avatar Nov 28 '22 13:11 AlekseyLupach

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

JackBimson avatar Feb 21 '23 14:02 JackBimson

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

nazam1998 avatar Feb 21 '23 14:02 nazam1998