Skip to content

Commit

Permalink
Update treasure-hunt.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorzel authored Apr 26, 2018
1 parent a688fb3 commit b897b4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/resources/js/treasure-hunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function initAudio() {
source = audioScene.createSource();
audioElement = document.createElement('audio');
audioElement.src = 'resources/cube-sound.wav';
audioElement.crossOrigin = 'anonymous';
audioElement.load();
audioElement.loop = true;
audioElementSource =
Expand Down

0 comments on commit b897b4b

Please sign in to comment.