CORS Restrictions. | Sololearn: Learn to code for FREE!

+2

CORS Restrictions.

Does anyone know a way to bypass this? I have seen others do it with the “cors-anywhere” but it’s still giving me the returning zeros error. https://code.sololearn.com/WycRnk6wkyF1/?ref=app

1/1/2019 6:42:35 PM

xpnvdo

4 Answers

New Answer

+2

https://stackoverflow.com/questions/31308679/mediaelementaudiosource-outputs-zeros-due-to-cors-access-restrictions-local-mp3

+5

You can't get rid of the CORS completely. I don't know about ios. After all it shouldn't matter since you normally wouldn't do that. It's just here in sololearn.

+2

it does work. i just wasnt waiting long enough. thanks.

+1

Toni Isotalo Thanks, this worked(sort of) I still have to keep the cors-anywhere part. Also, it is only working on android, any suggestions for ios?