Confirmed users
91
edits
(Specified that the "Version" field of .info file a should be a whole non-negative integer.) |
(Updated example to have whole number as version.) |
||
Line 63: | Line 63: | ||
Firefox addons and the Firefox addon manager tells Gecko where to look for plugins, using the mozIGeckoMediaPluginService.addPluginDirectory and .removePluginDirectory API. | 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/ | 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/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. | 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. |