简体   繁体   中英

Load audio from another domain

Im trying to create some text to speech using jTalk.

getting the request without a problem but, when trying to access the audio file with howl i get.

No 'Access-Control-Allow-Origin' header is present on the requested resource.

Is there any solution to load audio from external server?

To overcome this problem use the JSONP wrapper instead of just JSON.

End your json call with callback=? to ensure it has a JSONP callback.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM