Skip to content

Number of thumbs when using sprite #116

@inside83

Description

@inside83

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions