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

seek() method of Video is missing. #200

Open
aliveornot opened this issue Jul 17, 2024 · 4 comments
Open

seek() method of Video is missing. #200

aliveornot opened this issue Jul 17, 2024 · 4 comments

Comments

@aliveornot
Copy link

aliveornot commented Jul 17, 2024

<Video> in motion canvas has seek() method so that we can navigate through the timeline. Somehow this method is missing in revideo. Correct me if I'm wrong, but I couldn't find any other way to do this.

@hkonsti
Copy link
Member

hkonsti commented Jul 17, 2024

Oh, you're right. We have been optimizing the performance of the seek operation on the <Video> tag a lot which is why there are now three different seek functions with different trade-offs and speed improvements. Somewhere along those changes, it looks like we accidentally changed seek() from public to protected. Will change it back to public, release a new version, and get back to you!

@aliveornot
Copy link
Author

What a quick response! That'll be great. Thank you so much!!

@hkonsti
Copy link
Member

hkonsti commented Jul 17, 2024

Of course! As a workaround for now, you can just delete the old <Video> tag and create a new one at the time that you want to seek to.

@aliveornot
Copy link
Author

Oh I didn't know that one. I'll try that right away. Thank you!

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

2 participants