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

iOS: Fix seekTo to support float type second #490

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ro4z
Copy link

@Ro4z Ro4z commented Oct 18, 2020

Current version cannot be moved accurately using seekTo in iOS.

e.g. seekTo(3) and seekTo(3.8) have the same result

So, I changed parseInt to parseFloat in seekTo method (Youtube.ios.js)

I checked it works good in iPhone simulator

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.

1 participant