We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
if you want the player to expand into a custom height and ignore aspect-ratio, you can try this - #13 (comment)
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: