[Glitch] Audio.prototype.seek is undefined
Port dfeb3ba74f
to glitch-soc
This commit is contained in:
parent
66dd890390
commit
bd64d11f76
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const play = audio => {
|
|||
if (typeof audio.fastSeek === 'function') {
|
||||
audio.fastSeek(0);
|
||||
} else {
|
||||
audio.seek(0);
|
||||
audio.currentTime = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue