bbcrd/peaks.js — pull request #9 by oncletom (2014-01-30 16:26:36+00:00)
Title: Skipping in audio via JS doesn't move zoomed-in view

If I have a peaks.js instance on a page and I run the following:

```javascript
window.peaks.player.pause()
window.peaks.player.seekBySeconds(seconds)
window.peaks.player.play()
```

... where seconds is a valid timestamp in the file being played, then the player will seek ahead and continue to play, the zoomed-out part of the peaks.js viewer will move ahead, but the zoomed-in part stops animating until the player is manually paused (via browser controls). No errors are observed in the console. When the player is paused, the zoomed-in part will jump ahead to the new paused location of the playhead.

Tested in Firefox 26 and Chromium 32 on Windows and Linux, behavior is consistent across those.