-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The progressFrequency is actually a period #317
Comments
I think if it were to change it should be |
This is true, but I was thinking that maybe someone could find out what props the component has without the readme. For example, my editor (VSCode) somehow knows about them, such that when I type "p" for an additional prop in your demo application, it recommends me the Then again, I also am not sure if it would be beneficial to make any of the two changes I have suggested. It would be good for the newcomers, sure, but would it worth it to make a breaking update for it? If you are going to take any action, I think renaming the prop would be better, so that it actually breaks for whoever updates, and so they know. |
If I do change it I'll keep |
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
progressFrequency still works, but will log a warning to the console Closes cookpete/react-player#317
The
progressFrequency
prop is actually a period. Wasn't a problem for me, since I have first seen it on the readme#props, where the description says that it is in milliseconds. A default of 1kHz refresh rate would also be too high for a video player, which ascertained me that it really was just a misnomer.You may consider renaming it to
progressPeriod
, or make it function as a frequency instead. Or just hope that nobody is mislead by it, at least not for too long.The text was updated successfully, but these errors were encountered: