We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1a54d commit 4b73703Copy full SHA for 4b73703
src/wavesurfer.ts
@@ -583,7 +583,7 @@ class WaveSurfer extends Player<WaveSurferEvents> {
583
this.emit('timeupdate', time)
584
}
585
586
- /** Seek to a percentage of audio as [0..1] (0 = beginning, 1 = end) */
+ /** Seek to a ratio of audio as [0..1] (0 = beginning, 1 = end) */
587
public seekTo(progress: number) {
588
const time = this.getDuration() * progress
589
this.setTime(time)
0 commit comments