Title: Flash in template?
Last modified: August 19, 2016

---

# Flash in template?

 *  [jor133d](https://wordpress.org/support/users/jor133d/)
 * (@jor133d)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/flash-in-template/)
 * Can someone direct me how to add flash to my header? I am having the hardest 
   time getting it to work.

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

 *  [rlbeeman](https://wordpress.org/support/users/rlbeeman/)
 * (@rlbeeman)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/flash-in-template/#post-1096039)
 * this is something i have been trying to figure out as well. please help someone!
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/flash-in-template/#post-1096040)
 * 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]-->
       ```
   
 *  [aichandmokie](https://wordpress.org/support/users/aichandmokie/)
 * (@aichandmokie)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/flash-in-template/#post-1096041)
 * 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 ?>` ?
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/flash-in-template/#post-1096042)
 * 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.

 * 4 replies
 * 4 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/flash-in-template/#post-1096042)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
