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

Video speeding up #5

Open
omrivolk opened this issue May 11, 2022 · 0 comments
Open

Video speeding up #5

omrivolk opened this issue May 11, 2022 · 0 comments

Comments

@omrivolk
Copy link

I have adapted the core of this repo to display a video on open layers. But sometimes the video just speeds up, especially when zooming. Another side effect of this is that video.currentTime gives a wrong answer. I know this because I embedded the frame number into video. I also see this happening in the online example here:
https://lcalisto.github.io/ol_videos/

I've looked around and saw that people recommend changing the setInterval for the map.render() with requestanimationframe but that didn't help.

Any idea why this is happening and how to fix?

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