Well as the subject says I got a ultra annoying problem with a Flash file I need in a site.
First of all, if non SEF urls are used I have no problems with the file at all, but the minute I use SEF urls (both versions) the problem occurs. So i reckon the problem is down to relative path problems, just haven't figured out a way to solve it.
The problem:
I need to embed a Flash MP3 player. It's bought as a standalone player and not a Joomla extension (these seem to work). The player got a look that is suiting the design I am using hence I neeeed it to work. I have tried adding the all the files related to the player in different directories, for instance:
When embedded with SWFobject the player will show and load the playlist.xml file as it should. It works nice and dandy in all menu items. But when I get "deeper" into a menu item, the xml file is not loaded at all. For instance I got a menu called "blog". This will link to "article layout" of a category - no problem. But when I click one of the "read more" buttons in an article preview, I will be directed to a "deeper" url and the xml file of the player is not loaded. Examples:
I found a similar problem here:
tinyurl.com/8nw4bq
something about the XML file is relative to the html file (the module) and not to the player.swf.
I have tried different urls for the xml path inside the FLA file - no luck. I have also tried some of the embed flash extensions out there, but they can't find the file either.
I should have embedded it directly but I used a module since it should not be showing on a couple of pages - I reckon it would work with direct embedding.
But the idea is skipped as it was annoying that the player would restart on evert page change. So now we have just moved to a pop-up player instead. It was either that or iframes :shock: or some advanced cookie scripting or similar.