0
Welcome Guest! Login
0 items Join Now

ULTRA annoying Flash problem - any takers?

    • 's Avatar

    ULTRA annoying Flash problem - any takers?

    Posted 16 years 4 months ago
    • 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:
        ../mp3player
        ../images/mp3player
        ../images/stories/mp3player

      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:

      Native Joomla Extension:
      MENU - HOME - mysite.com - NO PROBLEM :D
      MENU - BLOG - mysite.com/blog - NO PROBLEM :D
      MENU - BLOG - ARTICLE READ MORE - mysite.com/blog/1-sample-article - PROBLEM (XML NOT LOADED) :shock:

      Non Native Joomla Extension (Eventlist):
      MENU - EVENTS - mysite.com/events - NO PROBLEM :D
      MENU - EVENTS - CLICK EVENT - mysite.com/events/details/1-sample-event - PROBLEM (XML AND PLAYER NOT LOADED) :shock:

      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.

      Anyone tried something similar?

      No site to link to - local install.

      TIA
      Thomas
    • Jamesso's Avatar
    • Jamesso
    • Elite Rocketeer
    • Posts: 500
    • Thanks: 0

    Re: ULTRA annoying Flash problem - any takers?

    Posted 16 years 3 months ago
    • 's Avatar

    Re: ULTRA annoying Flash problem - any takers?

    Posted 16 years 3 months ago
    • Thanks for responding Jamesso

      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.

      Thanks again.
      Thomas
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: ULTRA annoying Flash problem - any takers?

    Posted 16 years 3 months ago
    • Thomas, have you tried in the .fla to set the path to complete url? like www.yourdomain.com/folder/file.xml ?

      And in the embed code, to put the complete path of the swf (with your domain name too)?
    • 's Avatar

    Re: ULTRA annoying Flash problem - any takers?

    Posted 16 years 3 months ago
    • Franck wrote:
      Thomas, have you tried in the .fla to set the path to complete url? like www.yourdomain.com/folder/file.xml ?

      And in the embed code, to put the complete path of the swf (with your domain name too)?

      Nope didn't try that combo - but voilá it works!!!
      Thanks a million!
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: ULTRA annoying Flash problem - any takers?

    Posted 16 years 3 months ago
    • Great :cheesy:

Time to create page: 0.073 seconds