diff --git a/packages/storyteller-obs/src/pages/obs-layer/player/WebSocketProtocol.ts b/packages/storyteller-obs/src/pages/obs-layer/player/WebSocketProtocol.ts index ac64e3a5bf..61a51733d8 100644 --- a/packages/storyteller-obs/src/pages/obs-layer/player/WebSocketProtocol.ts +++ b/packages/storyteller-obs/src/pages/obs-layer/player/WebSocketProtocol.ts @@ -104,15 +104,19 @@ class WebSocketProtocol { const sound = new Howl({ src: [maybePlayableAudio.getUrl()], + autoplay: false, + loop: false, onend: function(soundId: number) { that.currentSound = undefined; that.playNextAvailableAudio(); // eagerly play the next one. - } + }, }); this.currentSound = sound; - sound.play(); + sound.once('load', function() { + sound.play(); + }); } }