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

fix RCTVIEW [{flexGrow:<<Nan>>}] is not usable as a native method argument #126 issue #168

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

ayuleul
Copy link

@ayuleul ayuleul commented Sep 8, 2022

Issue #126 has been resolved.
image

@amiraabdelmalek
Copy link

Hello, still have this issue.

"react-native-video": "6.0.0-alpha.1",
"react-native-video-player": "^0.14.0",

here's an example of my code.
<VideoPlayer
video={{
uri: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4',
}}
videoWidth={1600}
videoHeight={900}
showDuration={true}
autoplay={false}
disableFullscreen={true}
/>

@alisaya10
Copy link

just go to node_modules/react-native-video-player/index.js

search for flexGrow and you can find this { flexGrow: this.state.progress }, change it to { flexGrow: 1 }, in evey flexGrow that you can find and it will be okay

@cornedor cornedor merged commit b7702dc into TheWidlarzGroup:master Oct 18, 2022
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

Successfully merging this pull request may close these issues.

4 participants