diff --git a/src/plugin/HTMLAudioPlugin/HTMLAudioPlayer.ts b/src/plugin/HTMLAudioPlugin/HTMLAudioPlayer.ts index 15368c3..03b6d49 100644 --- a/src/plugin/HTMLAudioPlugin/HTMLAudioPlayer.ts +++ b/src/plugin/HTMLAudioPlugin/HTMLAudioPlayer.ts @@ -34,6 +34,7 @@ export class HTMLAudioPlayer extends AudioPlayer { loop: !!asset.loop, loopOffset: asset.loopOffset ?? 0, }); + player.setVolume(this._calculateVolume()); player.onStop.add(this.stop, this); player.play(); this._player = player;