{"action":"closed","issue":{"url":"https://api.github.com/repos/brightcove/videojs-overlay/issues/10","labels_url":"https://api.github.com/repos/brightcove/videojs-overlay/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/brightcove/videojs-overlay/issues/10/comments","events_url":"https://api.github.com/repos/brightcove/videojs-overlay/issues/10/events","html_url":"https://github.com/brightcove/videojs-overlay/issues/10","id":49313465,"number":10,"title":"Rewinding using the scrubber doesn't remove overlays","user":{"login":"graywithanA","id":6691794,"avatar_url":"https://avatars.githubusercontent.com/u/6691794?v=3","gravatar_id":"","url":"https://api.github.com/users/graywithanA","html_url":"https://github.com/graywithanA","followers_url":"https://api.github.com/users/graywithanA/followers","following_url":"https://api.github.com/users/graywithanA/following{/other_user}","gists_url":"https://api.github.com/users/graywithanA/gists{/gist_id}","starred_url":"https://api.github.com/users/graywithanA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywithanA/subscriptions","organizations_url":"https://api.github.com/users/graywithanA/orgs","repos_url":"https://api.github.com/users/graywithanA/repos","events_url":"https://api.github.com/users/graywithanA/events{/privacy}","received_events_url":"https://api.github.com/users/graywithanA/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-19T00:30:06Z","updated_at":"2015-12-21T21:48:45Z","closed_at":"2015-12-21T21:48:45Z","body":"This is similar, or potentially the same, as issue #8.  When scrubbing backwards any overlays that display based on time and should no longer display do not seem to be removed.  Furthermore, if you scrub backwards, but still within the range of time the current overlay is displayed, a second instance of the overlay is created.  This causes the appearance of any opacity settings to be cut in half each time.\r\n\r\nFor example, say I have an overlay that should display from 0-10 seconds and another from 10-20 seconds.  If I let the video play to 15 seconds and then...\r\n\r\n...click back to 12 seconds: a second overlay of the same content is added.\r\n...click the playhead and drag back to 12 seconds: many overlays are added.\r\n...click back to 5 seconds: both the 0-10 and 10-20 overlays are displayed over top of each other.\r\n\r\nI created this as a separate issue because @kevinmann suggested his problem arose when clicking the scrubber multiple times whereas the issue I'm describing doesn't require multiple clicks of the scrubber.  The problem occurs whether you scrub backwards by clicking once at a point behind the playhead or if you drag the playhead backwards.\r\n"}}