brightcove/videojs-thumbnails — pull request #17 by gkatsev (2014-05-05 18:22:49+00:00)
Title: Don't let thumbnail fall off player

This currently only works if the thumbnails are images that use `clip: rect()` for the sprite.

It gets the width of the sprite and make sure that left isn't bigger than size of player minus half sprite width and that it isn't smaller than half sprite width.