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

next branch issue #39

Closed
MeTubeapp opened this issue Jun 3, 2020 · 1 comment
Closed

next branch issue #39

MeTubeapp opened this issue Jun 3, 2020 · 1 comment

Comments

@MeTubeapp
Copy link

hey bro i m using ontimeupdate same as master branch in your next branch and this give me error
type '(VideoPlayerValue) => Null' is not a subtype of type '(dynamic) => void'
Another exception was thrown: type '(VideoPlayerValue) => Null' is not a subtype of type '(dynamic) => void'
and my code is
ontimeupdate: (value) {
print("timeupdate $value");
var position = value.position.inMilliseconds / 1000;
print(position);
},

@MeTubeapp
Copy link
Author

hey bro i got the solution.. now i am using code like this

ontimeupdate: (dynamic value) {
print("timeupdate $value");
var position = value.position.inMilliseconds / 1000;
print(position);
},
now error is gone,,,,

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

No branches or pull requests

1 participant