Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-21-2005, 01:05 PM   #1
king7532
Prospect
 
Join Date: Dec 2005
Posts: 4
safari plug-in's

Here's the software I have:
Mac OS X 10.4.3
Safari 2.0.2

When I click a hyperlink in Safari, for example:
<a href="movie.avi">Movie</a>

Safari begins to download the movie.avi.

How do I "tell" Safari to launch a 3rd party application, such as VLC (VideoLan Client), when I click on a *.AVI file?

Any help will greatly appreciated.

Benjamin
king7532 is offline   Reply With Quote
Old 12-21-2005, 01:40 PM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
There are two things involved here.
First off, the web server tells Safari what type of file it is by means of the "MIME type" transmitted as part of the HTTP message. If Safari doesn't recognize the type of file, it assumes the file is to be downloaded.

You can configure what Safari does with different types of files by using the 3rd-party preference pane "RCDefaultApp" (http://www.rubicode.com/Software/RCDefaultApp/)
hayne is online now   Reply With Quote
Old 12-21-2005, 02:25 PM   #3
king7532
Prospect
 
Join Date: Dec 2005
Posts: 4
I downloaded and installed RCDefaultApp, then under "MIME Types" for "video/avi" I set the default application to VLC. I tried it out and it works!Now in Safari when I click on the "Movie" hyperlink it first downloades the AVI file completely THEN launches VLC to play it.

What I really wanted has for Safari to launch VLC with the URL of the hyperlink. This way I can start to watching the video as its downloading. This is what Safari does for QuickTime movies.

Any ideas how to accomplish that?

Benjamin
king7532 is offline   Reply With Quote
Old 12-21-2005, 02:41 PM   #4
king7532
Prospect
 
Join Date: Dec 2005
Posts: 4
Here's the software I have:
Mac OS X 10.4.3
Safari 2.0.2
QuickTime Player 7.0.3

When I click a hyperlink in Safari, for example:
<a href="movie.mov">Movie</a>

Safari immediately begins playing the Movie in the browser window, using QuickTime, as the Movie is being downloaded.

How do I configure either Safari or QuickTime to LAUNCH a new QuickTime player window instead of playing the movie in the Safari window?

Any help will greatly appreciated.

Benjamin
king7532 is offline   Reply With Quote
Old 12-21-2005, 02:44 PM   #5
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
I merged your new thread with your previous one since the answer is the same - configure it using the RCDefaultApp preference panel.
hayne is online now   Reply With Quote
Old 12-21-2005, 02:46 PM   #6
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by king7532
What I really wanted has for Safari to launch VLC with the URL of the hyperlink. This way I can start to watching the video as its downloading. This is what Safari does for QuickTime movies.

I think the movies have to be specially prepared to allow this. I.e. I don't think it works with all movies.
hayne is online now   Reply With Quote
Old 12-21-2005, 02:53 PM   #7
king7532
Prospect
 
Join Date: Dec 2005
Posts: 4
First Post re: Safari Plug-in

RCDefaultApp does NOT "launch" the VLC application when I click on an AVI file. It tells Safari to open VLC once the AVI file is completely downloaded. My question here is how do I get Safari to launch the VLC application with the URL to the hyperlink immediately?

Second Post re: Launch QuickTime player from hyperlink in Safari

My question is similar in how do I get Safari to launch a seperate QuickTime player window when I click on a QuickTime media file? Because right now it will only play in the Safari window.

I'm looking for information on how to get Safari to launch a 3rd party application immediately after I click on a hyperlink. Similar to the way Safari immediately begins to play QuickTime media in the browser window.

Thanks

Benjamin
king7532 is offline   Reply With Quote
Old 12-21-2005, 03:03 PM   #8
king7532
Prospect
 
Join Date: Dec 2005
Posts: 4
Quote:
Originally Posted by hayne
I think the movies have to be specially prepared to allow this. I.e. I don't think it works with all movies.

What I'm looking for is a "user" solution to allow me to LAUNCH QuickTime player and VLC IMMEDIATLEY when I click on a hyperlink to a file that is assocaited with those applications (via RCDefaultApp or QuickTime Preferences).

Some possible solutions that come to mind include:
- AppleScript
- "personal" style sheets (Safari -> Preferences -> Advanced -> Style Sheet)

Has anyone tried this before? Or could someone point me to a link or document with further information about how I could accomplish this?

Thanks

Benjamin
king7532 is offline   Reply With Quote
Reply


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 -5. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.