mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
load on play
This commit is contained in:
parent
160e00b5a9
commit
13eb2ebf7c
@ -613,6 +613,8 @@ export default class Player extends Core {
|
||||
|
||||
instance.audioElement.muted = this.state.audioMuted
|
||||
|
||||
instance.audioElement.load()
|
||||
|
||||
instance.audioElement.play()
|
||||
|
||||
// check if the audio is a live stream when metadata is loaded
|
||||
|
Loading…
x
Reference in New Issue
Block a user