WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks + flash (4 posts)

  1. Versipellis
    Member
    Posted 4 years ago #

    I have a site using wordpress and it has a flash banner in the header.

    The problem I'm having is that the flash only shows up on the home page when using permalinks.

    The permalink being used is /%category%/%postname%/

    If the permalinks are removed the flash will run on ever page.

    the code for the flash is as follows:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="623" height="244">
      <param name="movie" value="http://www.evolution-photography.co.uk/wp-content/themes/corelab/slide_flash8.swf" />
      <param name="quality" value="high" />
      <embed src="http://www.evolution-photography.co.uk/wp-content/themes/corelab/slide_flash8.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="623" height="244"></embed>
    </object>

    I assume its the link in here that needs editing but I don't know what with?

  2. Versipellis
    Member
    Posted 4 years ago #

    I tried doing this instead but it pretty much had the same problem.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="623" height="244">
      <param name="movie" value="<?php bloginfo('template_url'); ?>/slide_flash8.swf" />
      <param name="quality" value="high" />
      <embed src="<?php bloginfo('template_url'); ?>/slide_flash8.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="623" height="244"></embed>
    </object>

    This problem seems quite unique, several days of searching the web hasnt revealed any answers so if anyone out there has a flash component and uses wordpress permalinks i'd be very grateful for some information! I'm really stuck here.

  3. amplidyne
    Member
    Posted 4 years ago #

    You're running into this issue because of relative paths.
    Add a base h ref in your header file just before </head> tag.

    <head>
    <base href="http://www.yoursite.com/" />
    </head>

    This should fix your issue.

    Thanks,

  4. Versipellis
    Member
    Posted 4 years ago #

    that doesnt work mate

Topic Closed

This topic has been closed to new replies.

About this Topic