react-native-youtube-iframe
react-native-youtube-iframe copied to clipboard
When playing a video settings options opens
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
Any updates?
Same problem
Same problem
+1. Has anyone been able to get pass through? Appreciate any help.
@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)