Viewing 4 replies - 1 through 4 (of 4 total)
  • this is something i have been trying to figure out as well. please help someone!

    I’ve been loading flash with this for a couple of years now.

    <!--[if !IE]> -->
    <object id="my_flash_banner" type="application/x-shockwave-flash"
      data="<?php echo get_bloginfo('template_directory'); ?>/images/Flash_Box.swf" width="496" height="185">
    <!-- <![endif]-->
    <!--[if IE]>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
      codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
      width="496" height="185" wmode="transparent">
      <param name="movie" value="<?php echo get_bloginfo('template_directory'); ?>/images/Flash_Box.swf" />
    <!--><!--dgx-->
      <param name="loop" value="true" />
      <param name="menu" value="false" />
      <param name="wmode" value="transparent" />
      <p>Please install or enable FlashPlayer to view this content.</p>
    </object>
    <!-- <![endif]-->

    With your code it worked in Mozilla, but not in IE 8.

    Did not understand why you if and endif codes are inside
    <!--[ ]-->

    Am I suppose to replace those with <?php ?> ?

    That code works for me in IE8.

    Those are IE conditional tags. They are supposed to look just like they do. Most browsers will ignore them as comments but IE will look for them and render whatever it finds inside them.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Flash in template?’ is closed to new replies.