How many of u faced CORS access rejection problems? Have any idea to fix it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How many of u faced CORS access rejection problems? Have any idea to fix it?

I'm trying for web audio api but the cors access rejection is not allowing to make the audio visualizer.. Adding crossOrigin = 'anonymous'.. Still isn't helping.. Does anyone have any idea to fix it?

26th Aug 2017, 7:09 PM
Omniscient
Omniscient - avatar
4 Answers
+ 4
People host these from dropbox, which in one configuration provides the correct headers. ValentinHacker does this, e.g. (others in CodePlayground)
26th Aug 2017, 10:39 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
"website compatible with all types of screens" -- as in dimensions? I believe jQuery tries to abstract dimensions across browsers in clientWidth.
27th Sep 2017, 8:58 PM
Kirk Schafer
Kirk Schafer - avatar
0
Thanks @kirk One more Do you know how to make our website compatible to all type of screens?
27th Sep 2017, 7:08 AM
Omniscient
Omniscient - avatar
0
@kirk thanks 😊. I will check it out.
28th Sep 2017, 2:24 AM
Omniscient
Omniscient - avatar