Support » Fixing WordPress » How to detect flash in a post?

  • I found the example below that WORKS so far. The “Put HTML” line will appear when flash is NOT installed. Now, however, I’m looking for the “else” clause. Specifically, I want DIFFERENT html code to be used when flash IS installed. How can I do that.

    <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” />
    Put HTML here that will appear when flash is NOT installed

    In general, I want something to happen like this

    ifflashinstalled [one shortcut] else [other shortcut]

  • The topic ‘How to detect flash in a post?’ is closed to new replies.