Audio.prototype.seek is undefined (#5935)

th-downstream
Yamagishi Kazutoshi 7 years ago committed by Eugen Rochko
parent 856e8465ea
commit dfeb3ba74f

@ -15,7 +15,7 @@ const play = audio => {
if (typeof audio.fastSeek === 'function') {
audio.fastSeek(0);
} else {
audio.seek(0);
audio.currentTime = 0;
}
}

Loading…
Cancel
Save