Chris Needham

Results 494 comments of Chris Needham

I suggest that the static adapter should be used by default, until the animated zoom adapter works reliably.

It's a good question, as we don't have good test coverage for mouse and keyboard input yet. Creating a segment is only done by calling the `peaks.segments.add()` function, it's not...

OK, let me know if I can be of any more help. By the way, we're planning to add segment creation using mouse input, see https://github.com/bbc/peaks.js/discussions/373#discussioncomment-820978.

Is `zoomview.drag` specific to your fork? It's not in our [list of events](https://github.com/bbc/peaks.js#events).

Can you reproduce the issue in this repo? I can't really help with debugging forks, sadly.

Hmm, possibly. The two most common requests we seem to get are: How do I build on Alpine? and How do I run this on AWS Lambda? (Perhaps the Alpine...

Hi, @ChaoshengZhang, can do describe what you want to do in more detail?

I recommend that you look at our [waveform-data.js](https://github.com/bbc/waveform-data.js) module. The ReadMe has some [example code](https://github.com/bbc/waveform-data.js#drawing-in-canvas) that shows how to draw a waveform using the HTML Canvas API.

At the moment Peaks.js only supports adding segments through the `peaks.segments.add()` method, which requires the start and end times as parameters. Allowing users to add segments through the UI would...

I think Peaks.js provides all the extensibility points you need to implement this. Take a look at [Cue Events](https://github.com/bbc/peaks.js#cue-events) and [`point.update()`](https://github.com/bbc/peaks.js#pointupdate-time-labeltext-color-editable--) in the documentation. Playing a click sound or changing...