...

View Full Version : application/extension detect



Razorholt
12-30-2006, 04:02 AM
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

Philip M
12-30-2006, 07:50 AM
"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.

Razorholt
12-30-2006, 05:11 PM
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?

jkd
01-02-2007, 01:13 AM
Sure, a plugin/extension would have access to that sort of information.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum