WordPress.org

Ready to get started?Download WordPress

Forums

How to detect flash in a post? (1 post)

  1. helmutforren
    Member
    Posted 1 year ago #

    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
    </object>

    In general, I want something to happen like this

    ifflashinstalled [one shortcut] else [other shortcut]

Topic Closed

This topic has been closed to new replies.

About this Topic