You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The video starts playing in full screen mode automatically on the launch of a screen in iOS.
To Reproduce
<YoutubePlayer
height={250}
play={true}
mute={false}
style={{borderRadius:10}}
key={1}
videoId={'CLm-UaRAwtE'}
/>
When we set play=true, on the launch of screen, the video gets opened automatically in the full screen mode.
Expected behavior
We expect the video to auto-play inline (on the screen itself). This issue is only on the iOS platform. On Android, the video plays inline and does not open up in the full screen.
Smartphone :
Device: iPhone 12
OS + version: iOS 15.2+
react-native-youtube-iframe 2.2.2
react-native-webview 11.22.2
Additional context
We tried with play=false, this prevents full screen mode, but video no longer plays inline. It is expected to play inline.
We also tried initialPlayerParams, preventFullScreen option - but it is not working in iOS.
The text was updated successfully, but these errors were encountered:
Describe the bug
The video starts playing in full screen mode automatically on the launch of a screen in iOS.
To Reproduce
<YoutubePlayer
height={250}
play={true}
mute={false}
style={{borderRadius:10}}
key={1}
videoId={'CLm-UaRAwtE'}
/>
When we set play=true, on the launch of screen, the video gets opened automatically in the full screen mode.
Expected behavior
We expect the video to auto-play inline (on the screen itself). This issue is only on the iOS platform. On Android, the video plays inline and does not open up in the full screen.
Smartphone :
react-native-youtube-iframe
2.2.2react-native-webview
11.22.2Additional context
We tried with play=false, this prevents full screen mode, but video no longer plays inline. It is expected to play inline.
We also tried initialPlayerParams, preventFullScreen option - but it is not working in iOS.
The text was updated successfully, but these errors were encountered: