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

Number of thumbs when using sprite #116

Open
inside83 opened this issue Feb 7, 2021 · 0 comments
Open

Number of thumbs when using sprite #116

inside83 opened this issue Feb 7, 2021 · 0 comments

Comments

@inside83
Copy link

inside83 commented Feb 7, 2021

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

Is there a way around it?

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