Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. var sound = new Howl({src: ['../static/bubbles.mp3']});
  2. let id;
  3. window.onkeypress = function() { id = sound.play(); }
  4.  
  5. = Access to XMLHttpRequest at 'file:///home/a3b/Desktop/watatap/static/bubbles.mp3' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
  6. = howler.min.js:2 HTML5 Audio pool exhausted, returning potentially locked audio object.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement