Results 1 to 10 of 10

Thread: Flash detection

  1. #1
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default Flash detection

    I am interested in having some flash content on my site, but I hate it when it doesn't work for a user who doesn't have flash installed.

    A friend of mine wrote (found?) a javascript that detects flash and redirects based on that.

    Is there a way to do this using flash?

    I know flash can send post variables and even interact with javascript.

    Is there any way to make it redirect if it works, and leave things alone if not?

    That would work well, I think.

    Any other ideas in this area?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Try out the Flash Detection Kit

    I have used this a few times in the past and it works really well, if they don't have the payer it will give them the option to install it right there, without leaving your site. COOL!

    However, if you use this option check the AC_OETags.js file for the links and verify all the install/upload links are valid. Last time I used this they still had a few ftpdownload.macromedia.com's in there, but it is now adobe.com...
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I was also hoping to do this in a way that didn't require JS.

    I think this makes sense:
    include a flash file on the page.
    if the flash loads, have it forward to a new url
    if it doesn't load, it will stay on the same page, which will be the non-flash page.
    At that point, a cookie could be stored.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I was also hoping to do this in a way that didn't require JS.
    Why? JS is better-supported than Flash. What do you think the chances are that someone with JS disabled/unavailable will have Flash installed?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    It would be easier to include the Flash file, and under it have 2 links, one for the non flash version page, and one to download flash player.

    If the flash loads they will ignore the links, if it doesn't they have a choice.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hmm... ok.

    Twey, if they don't have flash or JS, then the JS wouldn't work.
    If you're saying to use Js to detect flash then redirect to a flash page, that could work.

    Thanks for the info. I'll think it over.

    Let me know if you have any other ideas.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Wait, wait wait..

    Wont the Flash detection option work for you? File>> publish settings>> click the html and Flash boxes. Go to the HTML tab and check "detect flash version"

    Click on settings and verify your requirements. (leave cab versions set to 0 though)
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hmm...perhaps.
    I'll play with it.
    This isn't an immediate thing, but something that I want to be able to do later. I'll look into that.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    You can also go back to old files and change the requirements without using Flash. Just open the HTNML file and find where it lists the cab version (8.0.0) for example. The first number is the required Flash version, and the other 2 0's are the builds, which should always stay at 0.

    Just an idea.

    I do know there are many other ways to do what you need. I will try to find my links and give you some to look over.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  10. #10
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Found one of them.. This one is for a program that will do it for you, but there is a free trial and I don't doubt you can err.. reverse engineer it

    I have others if I can locate them....
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •