diff --git a/core/workspace_audio.js b/core/workspace_audio.js index fff9b3482..8b7089f91 100644 --- a/core/workspace_audio.js +++ b/core/workspace_audio.js @@ -111,7 +111,7 @@ Blockly.WorkspaceAudio.prototype.preload = function() { for (var name in this.SOUNDS_) { var sound = this.SOUNDS_[name]; sound.volume = 0.01; - sound.play(); + sound.play().catch(function() {}); sound.pause(); // iOS can only process one sound at a time. Trying to load more than one // corrupts the earlier ones. Just load one and leave the others uncached.