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