Open local files with predefined app in Mac

Joined
Apr 17, 2011
Messages
2
Reaction score
0
Points
1
Hi

I´m developing a little app based on CSS3 and HTML for my own use that contains all my movies collection. When I press the movie poster, it opens the movie file using a regular <a> link code.

The problem is that Firefox (or any other browser) only lets me save the file (it will download the movie that I already have in my HD), as you can see in the following image.

I´m wondering if it´s possíble to run apps or open files automatically with an app installed (in this case with VLC) with HTML or any additional script.


I´ve realized that iTunes just do that when we choose "view it in iTunes". See here.

Thanks in advance.:)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top