Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / July 2006

Tip: Looking for answers? Try searching our database.

How to detect default Media Player to play movie file.

Thread view: 
radishcarrot@yahoo.com - 05 Jul 2006 07:53 GMT
Hi guys,

Is it possibe to detect the default media player... for e.g. Window
Media Player, RealPlayer, Quicktime etc??

If it is possible, how do we go about coding it??

Anyway help greatly appreciated. Thanks
andrewthommo@gmail.com - 05 Jul 2006 11:15 GMT
...
> Is it possibe to detect the default media player... for e.g. Window
> Media Player, RealPlayer, Quicktime etc??

I'm not sure, but have you investigated the JMF
for *playing* the movie(s)?
<http://java.sun.com/products/java-media/jmf/>

I suggest you load JMF and give JMStudio a run for a quick
idea of the media types it will handle -  it can play most
common media types.

HTH

Andrew T.
Oliver Wong - 05 Jul 2006 15:43 GMT
> Is it possibe to detect the default media player... for e.g. Window
> Media Player, RealPlayer, Quicktime etc??
>
> If it is possible, how do we go about coding it??

   My guess is you'll have to use platform specific code and JNI. In the
case of Windows, you'd look at the file associations to find out what
programs are associated with the file types you're interested in.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.