How many of u faced CORS access rejection problems? Have any idea to fix it? | Sololearn: Learn to code for FREE!

+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?

8/26/2017 7:09:35 PM

Omniscient

4 Answers

New Answer

+4

People host these from dropbox, which in one configuration provides the correct headers. ValentinHacker does this, e.g. (others in CodePlayground)

+3

"website compatible with all types of screens" -- as in dimensions? I believe jQuery tries to abstract dimensions across browsers in clientWidth.

0

Thanks @kirk One more Do you know how to make our website compatible to all type of screens?

0

@kirk thanks 😊. I will check it out.