Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    application/extension detect

    Hi all,

    I tried with PHP but apparently it's not going to be possible, so let's try with Javascript

    ***

    Is it possible to detect, from a web page, whether an application has been installed? And is it possible to detect whether a format has been registered with windows/Mac/Linux?

    I'm writing a video player that has to be launched from a web page. I need to make sure that the user has the application installed on the machine prior to showing the PLAY button from the page. The player is using its own video extension as well, so when a user is hitting the play button in order to launch any video and the application has not been installed, a popup is asking what program to be used to open the file... No good


    Thanks for your help.
    - Dan

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,173
    Thanks
    203
    Thanked 2,549 Times in 2,527 Posts
    "Is it possible to detect, from a web page, whether an application has been installed? And is it possible to detect whether a format has been registered with windows/Mac/Linux?"

    No. JavaScript has no ability to read from (or write to) a file.

  • #3
    New Coder
    Join Date
    May 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, maybe I should write a plugin for IE, Firefox, etc... Then I'll be able to detect whether it has been installed or not?

  • #4
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Sure, a plugin/extension would have access to that sort of information.


  •  

    Posting Permissions

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