Re: detect plugin

Michael Dale <[email protected]>
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
cool, that works great. Sorry I overlooked that plugin lookup method 
earlier.
I will add mplayer detection into mv_embed :)

peace,
--michael

Kevin DeKorte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Dale wrote:
>   
>> ....did a mplayer specific mime type registration make it into the 
>> mplayer plugin code base by any chance? If not if you could do that 
>> quick edit for future versions that would be very much appreciated :) I 
>> recommend "application/mplayerplug-in" or something of that nature.
>>
>> peace,
>> --michael
>>
>> Kevin DeKorte wrote:
>> Michael Dale wrote:
>>   
>>     
>
> Michael,
>
> No, I didn't add the mimetype as I'm not sure it is of any real benefit.
> On Firefox you can get a list of the active plugins with the
> navigator.plug-ins array
>
> Example of its use
>
> <html>
> <script>
>
> function listplugins() {
> 	
>     if (navigator.plugins && navigator.plugins.length > 0) {
> 	var pluginsArrayLength = navigator.plugins.length;
> 	// for each plugin...
> 	for (pluginsArrayCounter=0; pluginsArrayCounter < pluginsArrayLength;
> pluginsArrayCounter++ ) {
>
> 		document.writeln(navigator.plugins[pluginsArrayCounter].name);
> 		document.writeln("<br>");
> 		document.writeln(navigator.plugins[pluginsArrayCounter].description);
> 		document.writeln("<br><br>");
>
> 	}
>     }
>     return pluginFound;
>
> }
>
> </script>
> <body onload='listplugins();'>
> Testing
> </body>
> </html>
>
> That should be more than sufficient to detect mplayerplug-in
>
> More examples can be found here
> http://developer.apple.com/internet/webcontent/detectplugins.html
>
> 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
>
> iD8DBQFGvbOl6w2kMH0L1dERAipDAJ99mXbmhKgT2MvIs8f0GeSV90D1OQCfXui1
> RHdJleHgeCbQ06iJAOGPonM=
> =yUhN
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> Mplayerplug-in-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
>   


-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.