All -
I'm using Amazon S3 (Simple Storage Service) to host a bunch of mp3s. I'm able to stream the audio just fine and dandy, but for some reason... I can't seem to get any ID3 info to show up.
I've got a test.swf that points to an mp3 on Amazon's server that successfully streams a sample mp3 file. When I test things out locally, the audio streams and I can get Artist and Track Info via the ID3 tags.
However... when I move that test.swf online, to my own, personal server... the audio streams successfully, but any ID3 info shows up as "undefined."
I've gone so far as to pull down the mp3 from Amazon, and checked to see that all the info is there (it is). Additionally, when upload the same mp3 to my own server and point the test.swf file to THAT location... all the ID3 info shows up.
I was thinking this was a crossdomain issue, but if that were the case - wouldn't I have had problems streaming the audio in the first place?
This seems like a basic issue, and it's got me fairly stumped. I'd love any thoughts, as I think this is the last piece of the puzzle for me, on this project I'm working on.
My guess would be a file header is missing from the amazon mp3 serve. Have you tried a timer to just keep checking the id3 object rather than waiting for the on id3 event?
Also this might sound silly, but make sure its id3 v2. v1 is at the end of the file. So a fast server might appear to work fine with v1 tags.
Thanks persist! I was having prior issues with a missing Content-Type header... and my guess is that maybe my noob PHP upload process might be introducing some of these issues.
While I wasn't able to resolve Flash finding the ID3 info, I'm able to get the Artist/Track info from Echo Nest, which gets me the info just as easily.
Thanks for the advice though, as I didn't know all that about id3 v2 versus v1.
I know you've been away a while, and tend to pop back in here and there. But I hope things are well with you and the family, on your side of the screen.