Flash Detection

Out of context: Reply #10

  • Started
  • Last post
  • 10 Responses
  • londonBoy0

    Based on what jgjh151 has suggested.

    Create a flash file that's 1px x 1px. On the first frame use the action:

    getURL("flash_index.htm", "_self");

    Embed this directly after the *body* tag of your index.htm

    You can also add your "no-flash" or "checking for flash..." splash image/text to this page.

    The idea is that browsers will read the html downwards and so will get to your pixel-sized flash file first [and if flash plugin is present, will execute the getURL, thus loading the flash_index.htm page]. If this fails, the page will continue loading your splash screen.

    NB that this simple detector works but it only tests for the presence of a player that is compatible with the flash "version" as defined by your html attributes.

View thread