davidohayon669 / react-native-youtube

A <YouTube/> component for React Native.
MIT License
1.16k stars 471 forks source link

Full screen not working in iPad #290

Open senthilsivanath opened 6 years ago

senthilsivanath commented 6 years ago

Version used : 1.1.0

Full screen is not working in ipad, getting "Your browser doesn't support full screen" error

RickWoltheus commented 6 years ago

same problem here.. on Ipad the player uses the youtube iframe player and on mobile it uses the native ios player

goodhyun commented 5 years ago

Same here. what could be the reason of this fallback behavior?

goodhyun commented 5 years ago

Well well, looks like its a policy decision made by Youtube itself. https://stackoverflow.com/questions/51523718/fullscreen-mode-is-disabled-for-an-embedded-youtube-video-in-wkwebview

The standalone player might circumvent this?

asleepace commented 5 years ago

Any update on this?

clevertree commented 4 years ago

Could this be a solution? https://blog.usejournal.com/make-youtube-work-in-full-screen-correctly-on-ipad-react-native-and-ios-43e1ef7120c0

I couldn't get the above solution to work with an iphone user agent. Google can tell!

clevertree commented 4 years ago

Here's the accepted answer for this problem: image https://stackoverflow.com/questions/51523718/fullscreen-mode-is-disabled-for-an-embedded-youtube-video-in-wkwebview However, modifying the library code and adding the prop allowsInlineMediaPlayback={false} didn't seem to make a difference ;(