Open pandigita opened 6 years ago
I already had fixed this issue, if you want, you can use the project om my profile, i still will up that on npm and give suport of my fork, please give me a start to keep me motivated on this project
@jorgeluisrezende - I ran into this as well. In your comment above are you asking for someone to submit a PR with a suggested fix?
Well, i had fixed this, i'm was asking for someone to help to continue working in this project, i had made a fork and already mad some changes. theres a lot of work to do...
All good @jorgeluisrezende, I just suppressed the issue for now. I will try to reach back out next month, maybe I can help :)
I just want to say that my partner and I are finding your library to be quite nice. Regarding this issue, there is a discrepancy between the PropTypes directives of Controls.js and Video.js; specifically the required fields. The only required field in Video is url, and I would imagine these to match. If you would like, I can submit a pull request with this change.
Hi there, first of all, thank you for this wonderful, well functioning, well fullscreening video player! I'm strangely getting a prop type error, claiming
logo
is required, when the docs and common logic clearly suggest it's not required. Both theControls
and theTopBar
component seem to require it.Both in the console and the YellowBox: "Warning: Failed prop type: The prop
logo
is marked as required inControls
, but its value isundefined
." and "Warning: Failed prop type: The proplogo
is marked as required inTopBar
, but its value isundefined
."The video player works as expected, however, and I'm simply ignoring the warning, like so: console.ignoredYellowBox = ['Warning: Failed prop type: The prop
logo
is marked as required'];react-native-af-video-player version: 0.2.1
React Native version: 0.55.4
OS: Ubuntu
Has this issue already been raised? I think not.
Have you clearly read and understood the Readme? I think yes.
Code and explanation to replicate this issue:
<Video url={someURL} /> // works with Failed prop type warning
while<Video url={someURL} logo={someLogoURL} /> // works without any warnings
Are there any console logs? Yes, see above.