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

Allow setting progressUpdateInterval to work on iOS #800

Conversation

danhodos
Copy link
Contributor

The issue here was that the periodic time observer was getting added in setSrc, which was happening before setProgressUpdateInterval.

I haven't seen a deterministic way to ensure ordering of the property setters, so the simplest fix seemed to be to check for the existence of the periodic time observer in setProgressUpdateInterval, and if it existed to remove and re-add it after setting the new proper progressUpdateInterval.

Fixes #521.

@marlti7
Copy link

marlti7 commented Apr 21, 2018

can you merge it @jameshartt ?

@cobarx cobarx merged commit 6c139a7 into TheWidlarzGroup:master May 29, 2018
@cobarx
Copy link
Contributor

cobarx commented May 29, 2018

Thanks for providing this fix, merged!

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.

progressUpdateInterval Not Working
3 participants