Title: flash detection
Last modified: August 18, 2016

---

# flash detection

 *  [thornomad](https://wordpress.org/support/users/thornomad/)
 * (@thornomad)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/flash-detection/)
 * Hi,
 * This isn’t particularly wordpress specific (except that I want to use it in the
   theme of my wordpress blog) but:
 * Is there any PHP / Javascript / XHTML code I can use to detect whether the browser
   that is loading the page has flash installed ?
 * I want to use a Flash MP3 player on my site to replace the list of podcast chapter
   links on my sidebar; this way someone has the option to just listen to the chapter
   in the browser, or follow the link to the post. But: if a viewer doesn’t have
   flash installed, I want it to default to the basic `ul` list I have now.
 * Thanks!

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/flash-detection/#post-446569)
 * you dont need that, do this:
 * `<object type="application/x-shockwave-flash" data="blah.swf" width="x" height
   ="x">`
    `<param name="movie"blah.swf" />` `<param name="menu" value="false" /
   >` `<param name="bgcolor" value="xxxxxx" />` `<param name="wmode" value="transparent"/
   >` `this is what you see without flash` <— make that your no flash content `</
   object>`
 *  Thread Starter [thornomad](https://wordpress.org/support/users/thornomad/)
 * (@thornomad)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/flash-detection/#post-446570)
 * That, my friend, is genius. And I shall employ it immediately and you will be
   forever welcome at my campfire.
 * What is “wmode” ?
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/flash-detection/#post-446571)
 * its for ppl that use lightbox on their site also, I took the code off my site.
   Easier than looking it up elsewhere 🙂
 * dont know if you use it either, but there is little reg hack floating around 
   the net to enable and disable flash in ie. I dont use any flash blockers in ff
   so it (the hack) comes in handy when i want to see how things look without flash.

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

The topic ‘flash detection’ is closed to new replies.

## Tags

 * [detection](https://wordpress.org/support/topic-tag/detection/)
 * [flash](https://wordpress.org/support/topic-tag/flash/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/flash-detection/#post-446571)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
