Skip to content

Commit 1cdebc8

Browse files
Updating previousTime when picking and playing audio for sound
1 parent 1180d82 commit 1cdebc8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ var HTML5AudioSound = new Class({
106106
var seek = this.currentConfig.seek;
107107
var delay = this.currentConfig.delay;
108108
var offset = (this.currentMarker ? this.currentMarker.start : 0) + seek;
109-
this.audio.currentTime = offset;
109+
this.previousTime =
110+
this.audio.currentTime = offset;
110111
this.applyConfig();
111112
if (delay === 0) {
112113
this.startTime = 0;

0 commit comments

Comments
 (0)