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
611 stars 155 forks source link

Pop up always appears in Android when youtube video is interrupted #252

Open hyochan opened 2 years ago

hyochan commented 2 years ago

Describe the bug (Only in Android) When navigating to a different screen from the youtube iframe view, the pop-up appears in Android.

To Reproduce While watching Youtube, navigate to a different screen and come back.

Expected behavior Pop-up should not appear.

Screenshots

Screen Shot 2022-05-01 at 3 00 22 AM

Smartphone (please complete the following information):

Additional context It is not happening in iOS.

kennethstarkrl commented 2 years ago

Is your player in a scroll view? I have the same issue but it occurs when a user touches the video player to scroll. Only on Android

DonRyu commented 2 years ago

I have the same issue here

anandparmar-quark commented 2 years ago

I am facing the same issue in Android. I have this YoutubePlayer part of the flatlist items. Any solution?

Thank you.

takashi-uix commented 2 years ago

Any solution for this?

takashi-uix commented 2 years ago

I think I found a solution guys. check this https://lonelycpp.github.io/react-native-youtube-iframe/remove-context-share. let me know if this worked for you.

darias08 commented 1 year ago

@takashi-uix that just only disables the share button, but not actually resolve the issue of the share button feature popping up. I am not sure how it can be fixed only the dev might have an answer for that.