Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2006, 04:02 AM   PM User | #1
Razorholt
New Coder

 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Razorholt is an unknown quantity at this point
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
Razorholt is offline   Reply With Quote
Old 12-30-2006, 07:50 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,041
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
"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.
Philip M is offline   Reply With Quote
Old 12-30-2006, 05:11 PM   PM User | #3
Razorholt
New Coder

 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Razorholt is an unknown quantity at this point
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?
Razorholt is offline   Reply With Quote
Old 01-02-2007, 01:13 AM   PM User | #4
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
Sure, a plugin/extension would have access to that sort of information.
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:31 PM.


Advertisement
Log in to turn off these ads.