[help] flash mp3 player not working when embeded into HTML

I've written an mp3 player that streams music and loads in its playlist via XML.

The problem is that the player doesn't work when embeded inside a HTML page not even with the generated HTML place holder from Flash? It works fine if you open the swf on a server or on ur local HD .

As far as I can see all the paths are correct and permissions are fine.

I don't know whats wrong and it's driving me crackers!

Anyone have any ideas or suggestions?

Edit: I'm thinking that the falsh player is not loading in the xml properly when the swf if embeded in the HTML?

#313754

how are you linking the files from the streaming - if it's not loading anything at all then you could try absolute addressing to each file (or even just plain hardcoding the stream, to begin with)

maybe you need to precompile the swf object before you embed it in the HTML...

#313768

I'm using relative addressing to the location of the swf. I'll try the hard-coded addressing when i get home, thanks for the tip!

Whats a precompiled swf? As in components you mean?

#313819

Yep I needed to use absolute paths. Fixed. Thanks.

#313972

glad it worked out, cheers! :)

#315284