Forums

flash into my themes header (3 posts)

  1. hkcharlie
    Member
    Posted 1 year ago #

    I've identified the php file I need to edit.
    Where I need to edit it.
    What I need to write .... this:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="420" height="260">
    <param name="movie" value="Home_page_flash_intro_test.swf" />
    <param name="quality" value="high" />
    <embed src="Home_page_flash_intro_test.swf"
    quality="high"
    type="application/x-shockwave-flash"
    width="420"
    height="260"
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

    But all I get is a plain white box in exactly the right place, of exactly the right size.

    Any Ideas please?

  2. Samuel B
    moderator
    Posted 1 year ago #

  3. bonatto
    Member
    Posted 1 year ago #

    Dear hkcharlie,
    It seems that you have simply to fix your path (into param and embed).
    Try to insert the WP suggested flash code into your "header.php" theme.
    You can do it using Admin/Edit Panel or your preferred Code Editor.

    Put: your flash file into "banners".
    Change: yoursite, yourdir, yourflash according to your data.
    Setup: width and height of your flash.
    It should works!

    Code (after <body> tag):

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="200" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
    <param name="src" value="http://www.yoursite.com/yourdir/wp-content/banners/yourflash.swf" />
    <embed type="application/x-shockwave-flash" width="400" height="200" src="http://www.yoursite.com/yourdir/wp-content/banners/yourflash.swf">
    </embed>
    </object>

    Best Regards.
    PLB

Topic Closed

This topic has been closed to new replies.

About this Topic