CORS Restrictions. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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

1st Jan 2019, 6:42 PM
xpnvdo
xpnvdo - avatar
4 Antworten
+ 2
https://stackoverflow.com/questions/31308679/mediaelementaudiosource-outputs-zeros-due-to-cors-access-restrictions-local-mp3
1st Jan 2019, 8:02 PM
Toni Isotalo
Toni Isotalo - avatar
+ 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.
4th Jan 2019, 6:32 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
it does work. i just wasnt waiting long enough. thanks.
7th Jan 2019, 4:47 AM
xpnvdo
xpnvdo - avatar
+ 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?
1st Jan 2019, 8:24 PM
xpnvdo
xpnvdo - avatar