Audio.prototype.seek is undefined (#5935)

lolsob-rspec
Yamagishi Kazutoshi 2017-12-09 09:25:00 +09:00 committed by Eugen Rochko
parent 856e8465ea
commit dfeb3ba74f
1 changed files with 1 additions and 1 deletions

View File

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