Re: [Mplayerplug-in-devel] detect plugin
Brought to you by:
kdekorte
From: Kevin D. <kde...@gm...> - 2007-07-29 23:12:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Dale wrote: > I am writing a HTML5 <video> tag support into contemporary browsers via > javascript: > http://metavid.ucsc.edu/blog/2007/06/07/html5-video-the-future-is-now/ > > one playback method is the mplayer plugin. Right now its very limited in > its support. To detect mozilla based plugins I have been using the > navigator.mimeTypes but mplayer does not seem to register anything > mplayer specific: ie vlc plugin registers application/x-vlc-plugin, and > oggplay plugin application/liboggplay ... > > Is there anyway to reliably detect if mplayer plugin is installed.. that > way I could extend the greater html5 support (the javascript/css > playhead full screen etc) to the associative mplayer javascript hooks: > http://mplayerplug-in.cvs.sourceforge.net/mplayerplug-in/mplayerplug-in/DOCS/tech/javascript.txt?view=markup > > > A work around is: if windows media is supported, & on linux platform > ... you probably have mplayer installed... but I think it would be ideal > to register a mplayer specific mime type for easy detection without > conflicts with vlc. > > --michael > Michael, This would be quite easy to do, but I have to ask myself.. why should you change the functionality of your website based on the client site capabilities? Also, what about my other video plugin, gecko-mediaplayer? Should I have a separate mime type for it.. you see where I am going with this writing all these special cases for every single browser/plugin combination is not going to be fun. Support should be generic as much as possible, but then at a certain point you have to say "The client needs to do something on their end to make this work." Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Remi - http://enigmail.mozdev.org iD8DBQFGrR7m6w2kMH0L1dERAqOtAJ4o8QEgAnOCulIJ+673qeJ3Tnx86QCeJh8X G0c9QYK/Tj4kIfqYgIbNOC0= =/ujY -----END PGP SIGNATURE----- |