Changes

Jump to: navigation, search

GeckoMediaPlugins

2 bytes removed, 02:24, 18 February 2015
Updated example to have whole number as version.
Firefox addons and the Firefox addon manager tells Gecko where to look for plugins, using the mozIGeckoMediaPluginService.addPluginDirectory and .removePluginDirectory API.
Developers prototyping new addons may also use the environment variable MOZ_GMP_PATH to specify a list of directories. Note that the paths set in MOZ_GMP_PATH must still conform to the rules in "On Disk Layout" above, i.e. the path points to the "version" subdirectory, which has a parent directory whose name has a "gmp-" prefix. i.e. <code>MOZ_GMP_PATH=/home/username/src/gmp-foobar/0.1/</code>.
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
91
edits

Navigation menu