<div dir="ltr">Chrome and Internet Explorer <b>do</b> support passing in credentials in the URL.  Can you narrow down the problem by firing up Wireshark and doing a packet capture?  Then, post the request and response headers in a new message so we can take a look.</div><div class="gmail_extra"><br clear="all"><div>Brad Isbell<br><a href="mailto:brad@musatcha.com" target="_blank">brad@musatcha.com</a><br><a href="http://www.musatcha.com" target="_blank">http://www.musatcha.com</a></div>
<br><div class="gmail_quote">On Sun, Oct 12, 2014 at 12:06 AM, Jay Nicholas <span dir="ltr"><<a href="mailto:jaynicholas@gmail.com" target="_blank">jaynicholas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I'm having trouble embedding my url-authenticated stream on my website on certain browsers. I'm hoping someone can offer some advice.</div><div><br></div><div>My site offers a subscription to the stream where the username and password are system-generated and unique to the subscriber. The system-generated password is stored in the database and passed to the page based on which subscriber is logged in. Since the username and password are system-generated and unique to each subscriber, I'm not concerned about passing the username and password in the URL for the Icecast server authentication.</div><div><br></div><div>Embedding the following URL in my HTML5 audio player works in Safari and Firefox:</div><div><br></div><div><a href="http://theusername:thepassword@myicecastserver.com/my-mount-point" target="_blank">http://theusername:thepassword@myicecastserver.com/my-mount-point</a></div><div><br></div><div>However, this method doesn't work in Chrome or Internet Explorer because these browsers don't support passing the username and password in the URL. (If I embed a mount URL in Chrome or Internet Explorer without authentication it works just fine so I know it's the authentication that is the problem. It's not a player compatibility issue.) In Chrome it still prompts for the username and password. In Internet Explorer it just simply doesn't work.</div><div><br></div><div>Does anyone have any guidance regarding how I can pass the username and password authentication header with javascript, php, or another method?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jay</div></font></span></div>
<br>_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
<br></blockquote></div><br></div>