detect plugin
Michael Dale <[email protected]>
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/