Comments (4)
Because Aurora loads audio data using an XMLHttpRequest, it is subject to the same cross domain security policy that other requests are. It can load cross domain audio files if the servers you are loading from have setup the proper CORS headers (Access-Control-Allow-Origin: *). If not, you may have to run some sort of proxy server, unfortunately. Let us know if you have any more questions, and thanks for using Aurora!
from aurora.js.
Hi, I am also working on a player and ran into some CORS-related problems. I want users to upload songs to their profiles (using filepicker.io) and then be able to play their files. I was using howler.js and it works great, but I don't like the quality of the final sound, plus other issues. So I want to switch to aurora.js but I am getting the following error when trying to load and play a file from filepicker.io: "Refused to get unsafe header "Content-Length"
"length.inflight.xhr.onload". Any ideas about the reason of this issue? And any reasons why it works just fine when using howler.js ? Thanks in advance!
from aurora.js.
@flaborda Same exact problem for me.
from aurora.js.
You may need Access-Control-Expose-Headers: content-length
coming from your server
from aurora.js.
Related Issues (20)
- How do I decode to raw, resample to 44,1khz and split stereo into dual mono buffers?
- "Something is wrong in HTTPSource.loop" while using AV.Asset.fromURL(remoteUrl)
- [Solved]switch backend from Speaker to PortAudio(naudiodon)
- Aurora not playing certain flac files with no error
- Live decoding on Android
- Node example HOT 1
- No default jsDelivr CDN file set
- Problems with 24-bit WAV files
- Questions about memory manage.
- Is decoding a specific part of a gargantuan file supported efficiently? HOT 3
- HTTP requests still sending to server even if HTTP error is returned
- Unit tests fail on master branch
- Chrome browser change for same site cookies
- gyp build fail HOT 1
- build for browser
- m4a demuxer fails when processing a file with co64 atom
- Window Not Defined
- decode fail
- How to install additional codecs? HOT 1
- Uncaught SyntaxError: Unexpected identifier 'key'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurora.js.