Skip to content
New issue

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

How do I enable the video in full screen #350

Open
SamarthKadam opened this issue Sep 5, 2024 · 0 comments
Open

How do I enable the video in full screen #350

SamarthKadam opened this issue Sep 5, 2024 · 0 comments

Comments

@SamarthKadam
Copy link

<YoutubePlayer
ref={playerRef}
height={190}
width={width - 21}
play={false}
webViewProps={{ containerStyle: styles.youtubeContainer, allowsFullscreenVideo: true }}
contentScale={0.5}
videoId={"nGpir4oUfJI"}
onChangeState={handleVideoStateChange}
/> When I tap the video I want the video to be played in full screen by default. How do I do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant