diff --git a/js/defaults.js b/js/defaults.js index b6a2d13..a2440d0 100644 --- a/js/defaults.js +++ b/js/defaults.js @@ -40,7 +40,11 @@ var defaults = { highlightWindowSize: 2, }; -var getSingletonAudio = lazy(() => new Audio()); +var getSingletonAudio = lazy(() => { + const audio = new Audio() + audio.crossOrigin = "anonymous" + return audio +}) var getSilenceTrack = lazy(() => makeSilenceTrack()) setupDarkMode()