News for hackers. Stuff that matters.
Re:Ask HN: Embed MP3 stream player? by what on Monday April 26, 2010 @09:06AM (#1294762)
Doesn't flash have a same origin policy that would prevent you from streaming mp3s from random URLS. I thought you have to host both the player and mp3 at the same domain? Or at least have a policy file on both domains that says you can access it. I could be mistaken, but this is how I remember it from the last time I checked.
Re:Ask HN: Embed MP3 stream player? by schill on Monday April 26, 2010 @12:16PM (#1295186)
Flash can load MP3s from remote domains, but it cannot read certain metadata (eg. ID3 tags, waveform/eq/spectrum data) unless granted permissions via a crossdomain.xml policy file. For hosting, the SWF should be on the same domain as the HTML document or JS-Flash communication will be restricted (or, use the cross-domain version of the SWF.)
Re:Ask HN: Embed MP3 stream player? by yeti on Monday April 26, 2010 @11:48PM (#1297151)
Thanks Schill, can it load MP3 streams as well as MP3 files? Assume so, but just to check. Any suggestion on player?