brightcove/videojs-thumbnails — pull request #4 by troger (2013-08-01 15:18:59+00:00)
Title: Old thumbnails when reloading the VideoJS player and thumbnail plugin for an other video

When reloading the VideoJS player and then the thumbnail plugin for an other video (through an AJAX request for instance), without reloading the scripts, old values for the thumbnails are kept for the new video because they are stored in the `default` object:

settings = extend(defaults, options);

This will copy the `options` properties to `defaults` and then returns `defaults`.

Extending from a empty `{}` object fixes the issue: this will ensure we always have a new `settings` object that's never `defaults`.