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

fullscreen prop doesnt work if changed dynamically #355

Open
timurridjanovic opened this issue Feb 1, 2019 · 2 comments
Open

fullscreen prop doesnt work if changed dynamically #355

timurridjanovic opened this issue Feb 1, 2019 · 2 comments

Comments

@timurridjanovic
Copy link

<YouTube
fullscreen={this.state.videoFullscreen} // initially false

doesnt work if I change it with this.setState({ videoFullscreen: true })

@budet-b
Copy link

budet-b commented Feb 26, 2019

Same issue with local variable in a TouchableOpacity, any idea ?

Repository owner deleted a comment from srfaytkn Oct 25, 2019
@imran1992
Copy link

imran1992 commented Oct 28, 2019

I think you are doing it before youtube video is ready. I also face that issue.
There is onReady method. there you can check video is ready to be fullscreen.

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

3 participants