, MediaElementAudioSource "CrossOrigin".
: MediaElementAudioSource - CORS . , .
, , : http://www.codingforums.com/javascript-programming/342454-audio-api-js.html
createMediaElementSource , MediaElementAudioSourceNode. Cross-Origin (CORS) Web Audio API. ( , W3C.) , , CORS , " "; , .
, http://morebassradio.no-ip.org:8214/;stream/1 Access-Control-Allow-Origin ( ), * . , , , , . , Ctrl + Shift + Q Firefox, "", , HTTP- "".
, - , , , HTML-; HTML XHTML-.
( Firefox, ( "" ) (Ctrl + Shift + K). Firefox CORS, Chrome, . , , , , Content (CSP), , Firefox .)
/ crossorigin crossorigin = "use-credentials" (JavaScript) crossorigin = "use-credentials" (HTML) -, , , , HTML , "" .
API -, MediaElementAudioSourceNode . createMediaElementSource HTMLMediaElement (HTMLAudioElement), MediaElementAudioSourceNode instanceof, , , .
Then in my situation, I get the HTTP response header:
HTTP/1.1 206 Partial Content
Date: Thu, 02 Jun 2016 06:50:43 GMT
Content-Type: audio/mpeg
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-Log, X-Reqid
Access-Control-Max-Age: 2592000
Content-Disposition: inline; filename="653ab5685893b4bf.mp3"
Content-Transfer-Encoding: binary
Last-Modified: Mon, 16 May 2016 02:00:05 GMT
Server: nginx
Cache-Control: public, max-age=31536000
ETag: "FpGQqtcf_s2Ce8W_4Mv6ZqSVkVTK"
X-Log: mc.g;IO:2/304
X-Reqid: 71cAAFQgUBiJMVQU
X-Qiniu-Zone: 0
Content-Range: bytes 0-1219327/1219328
Content-Length: 1219328
Age: 1
X-Via: 1.1 xinxiazai211:88 (Cdn Cache Server V2.0), 1.1 hn13:8 (Cdn Cache Server V2.0)
Connection: keep-alive
Please note that "Access-Control-Allow-Origin: *", I think this is correct, but I still get the message. Hope this helps you.