ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Flash won't load

February 21, 2009 1:16pm

Subscribe [2]
  • #1 / Feb 21, 2009 1:16pm

    iseem

    41 posts

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    EDIT: I’ve posted a Wiki article that covers general problems embedding Flash in EE templates, including the one discussed below.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Hi,

    I’m having a strange problem and have tried everything I can think of. My entire site works perfectly without a query string, except when I try to load Flash. On pages with Flash I have to add the question mark or the Flash won’t load.

    Just so this is clear, Flash loads with this URL

    <a href="http://mysite.com/index.php?/temp_group/temp">http://mysite.com/index.php?/temp_group/temp</a>

    but not this one

    <a href="http://mysite.com/index.php/temp_group/temp">http://mysite.com/index.php/temp_group/temp</a>

    and the rest of the site works either way.

    I’ve tried both relative and absolute paths to the flash files, and loading flash with js and with the object element, it makes no difference. I’ve stripped the flash page down to a minimal test case (I can email a link, don’t want to post it here).

    Also, I was renaming index.php and removing it with htaccess, but I’ve turned all that off.

    I don’t know what else to do. I’m really hoping it’s something dumb that’s just escaping me…any idea what’s going wrong?


    Here’s my config:

    EE 1.6.4
    Build: 20080808
    PHP Version 5.2.5
    Apache/2.0.63 (Unix)

  • #2 / Feb 21, 2009 1:45pm

    Derek Jones

    7561 posts

    Are you using relative URLs for or within your flash?  If so, they will not resolve properly because to your browser, ‘temp_group’ and ‘temp’ look just like physical directories.  You should be able to get the Flash functioning by referencing it with absolute URLs, and if the Flash references local resources, they will also need to use absolute URLs.

  • #3 / Feb 21, 2009 2:09pm

    iseem

    41 posts

    Ah, that’s what it was—my FLV player skin had a relative URL. I’m surprised I didn’t find this in the wiki. Maybe I missed something, but if it’s not there I’ll add it. (EDIT: wiki article is here)

    Thanks for the quick response—as always!

  • #4 / Feb 21, 2009 2:14pm

    Derek Jones

    7561 posts

    Well the symptoms are a little different, as you associated it with the fact that the query string fixed it - but it should also have worked on the site’s main index page as well.  If the FLV player isn’t on your main home page, then you wouldn’t have noticed.  We have a KB article that is related for images not showing up, but again, I don’t think you would have caught it considering your symptoms, so wiki away! :-D

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases