Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Images are showing at incorrect time on seekbar #43

@iamprem

Description

@iamprem

I've been trying to use this plugin for displaying thumbnail images and i noticed that time in seconds configured is not actually matching the timestamp in seek bar for a given image. I tried removing "progressControl.el().offsetLeft" from the following line and then it seem to work correctly. Not sure if this is due to recent ControlBar changes in videojs. Without this "possible fix" i'm getting negative values for "mouseTime".

mouseTime = Math.floor((left - progressControl.el().offsetLeft) / progressControl.width() * duration);

Let me know if you need any more examples or details about this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions