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

Allow preloading of all thumbnails to be disabled #3

Open
bikegriffith opened this issue Jan 12, 2016 · 3 comments
Open

Allow preloading of all thumbnails to be disabled #3

bikegriffith opened this issue Jan 12, 2016 · 3 comments

Comments

@bikegriffith
Copy link

With a very long movie, preloading all of the thumbnails becomes network intensive. Allowing them to load on-demand (and fill the cache on hover) should be an option.

@tjenkinson
Copy link
Owner

How many thumbnails are you loading? For my case the number of thumbnails doesn't really depend on the length of the video, I have configured a maximum number to generate.
Thanks.

@bikegriffith
Copy link
Author

@tjenkinson I generate one for every 10 seconds of video (so 4 hour video --> 1440 thumbs). Good call on maximum number though; I can easily slice up my list on the client side before passing into Clappr so that you can only scrub through a new thumbnail every x pixels.

@tjenkinson
Copy link
Owner

Cool ok. A new option to only load on first hover might be useful in case the user never hovers over the bar, so I'll leave this issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants