Closed dominictobias closed 4 months ago
Describe the bug Setting the height seems to have no effect - the video is still landscape.
To Reproduce
<YoutubePlayer webViewStyle={{ borderWidth: 1, borderColor: 'red' }} height={480} />
Expected behavior Video should be portrait shaped
Screenshots Instead the webview has a tall height, but the video is still landscape:
Smartphone (please complete the following information):
react-native-youtube-iframe
react-native-webview
Expo
Additional context It would be preferable for shorts to go straight to fullscreen mode as this fits portrait
if you want the player to expand into a custom height and ignore aspect-ratio, you can try this - https://github.com/LonelyCpp/react-native-youtube-iframe/issues/13#issuecomment-611753123
Describe the bug Setting the height seems to have no effect - the video is still landscape.
To Reproduce
Expected behavior Video should be portrait shaped
Screenshots Instead the webview has a tall height, but the video is still landscape:
Smartphone (please complete the following information):
react-native-youtube-iframe
2.3.0react-native-webview
13.6.4Expo
verison 50Additional context It would be preferable for shorts to go straight to fullscreen mode as this fits portrait