I'm using sprite generated by this plugin (https://github.com/flavioribeiro/video-thumbnail-generator) and I'm using helper method var thumbs = ClapprThumbnailsPlugin.buildSpriteConfig(spriteSheetUrl, numThumbs, thumbWidth, thumbHeight, numColumns, timeInterval); to generate thumbs property.
Problem is, if I define numThumbs at 100 (for example), not every sprite has 100 images in it. Sometimes it's more, sometimes it's less, depending on the length of the video so previews end up either being too short or too long at the seekbar.
Hi,
I'm using sprite generated by this plugin (https://github.com/flavioribeiro/video-thumbnail-generator) and I'm using helper method
var thumbs = ClapprThumbnailsPlugin.buildSpriteConfig(spriteSheetUrl, numThumbs, thumbWidth, thumbHeight, numColumns, timeInterval);
to generatethumbs
property.Problem is, if I define
numThumbs
at 100 (for example), not every sprite has 100 images in it. Sometimes it's more, sometimes it's less, depending on the length of the video so previews end up either being too short or too long at the seekbar.Is there a way around it?