Changes

Jump to: navigation, search

GeckoMediaPlugins

52 bytes removed, 15:13, 11 July 2014
No more well-known directories: plugins are found via API
== How Gecko Loads a GMP ==
Firefox addons and the Firefox addon manager tells Gecko scans known locations either on disk or in where to look for plugins, using the Windows registry for GMPsmozIGeckoMediaPluginService.addPluginDirectory and .removePluginDirectory API.
* Windows** 'Path' entry for child entries Developers prototyping new addons may also use the environment variable MOZ_GMP_PATH to specify a list of registry entry 'Software\\MozillaPlugins' under 'ROOT_KEY_LOCAL_MACHINE'* OS X** <code>~/Library/Internet Plugins/</code>** <code>/Library/Internet Plugins/</code>* Linux** <code>/usr/lib/mozilla/plugins/</code>directories.
It maintains a list of known GMPs, and when an API is requested by a consumer it scans the list for a GMP that can provide the API.
Confirm, emeritus
1,217
edits

Navigation menu