문제

HTML example:

<audio src="http://subfocus.fm:8000/stream2.mp3" type="audio/mpeg" controls></audio>

Confirmed to be working fine in Internet Explorer 9 and the latest versions of Firefox and Chrome on Windows 7. Since version 10, Internet Explorer returns "Invalid Source". Live example: http://subfocus.fm. Any known workarounds out there?

도움이 되었습니까?

해결책

Internet Explorer 10 (and a few other browsers, including specific versions of Firefox) can't handle responses from SHOUTcast because the response status line is invalid. Instead of something normal like HTTP/1.0 200 OK, SHOUTcast returns:

ICY 200 OK

The standard solution is to not use SHOUTcast, or proxy requests to your SHOUTcast server with other software. Icecast is one of many options.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top