clappr-thumbnails-plugin icon indicating copy to clipboard operation
clappr-thumbnails-plugin copied to clipboard

Allow preloading of all thumbnails to be disabled

Open bikegriffith opened this issue 9 years ago • 3 comments

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.

bikegriffith avatar Jan 12 '16 18:01 bikegriffith

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.

tjenkinson avatar Jan 12 '16 18:01 tjenkinson

@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.

bikegriffith avatar Jan 12 '16 19:01 bikegriffith

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.

tjenkinson avatar Jan 12 '16 20:01 tjenkinson