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

Timeline not scrolling to right based on time #9

Closed
vijeeshin opened this issue Nov 23, 2022 · 3 comments
Closed

Timeline not scrolling to right based on time #9

vijeeshin opened this issue Nov 23, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@vijeeshin
Copy link

First of all, Great work. Hi, I am using React Player as my video source, based on the lib, I am setting the timeline time from the react player output. My auto scroll prop of react-timeline-editor is true, but the timeline not scrolling to the right with respect to the time from the video. Please help.

@xzdarcy xzdarcy added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 25, 2022
@xzdarcy
Copy link
Owner

xzdarcy commented Nov 26, 2022

First of all, Great work. Hi, I am using React Player as my video source, based on the lib, I am setting the timeline time from the react player output. My auto scroll prop of react-timeline-editor is true, but the timeline not scrolling to the right with respect to the time from the video. Please help.

AutoScroll is used for scrolling while dragging. Scrolling by time when playing is another set of logic.
Therefore, added TimelineState.setScrollLeft attribute, allow custom scrollLeft on demand.
Released version 0.0.5.
You can refer to this example:demo

@xzdarcy xzdarcy closed this as completed Nov 26, 2022
@vijeeshin
Copy link
Author

@xzdarcy Thanks i will try

@vijeeshin
Copy link
Author

work like a charm, Thank you for your effort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants