fix(playback): await all async methods in interna API
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2306>
This commit is contained in:
parent
b04e087ca6
commit
af6b5c3843
3 changed files with 10 additions and 11 deletions
|
|
@ -96,11 +96,11 @@ export class HTMLSound implements Sound {
|
|||
}
|
||||
|
||||
async play () {
|
||||
this.#audio.play()
|
||||
return this.#audio.play()
|
||||
}
|
||||
|
||||
async pause () {
|
||||
this.#audio.pause()
|
||||
return this.#audio.pause()
|
||||
}
|
||||
|
||||
async seekTo (seconds: number) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue