Name: MyCompany h.264 Plugin
Description: Provides encoding and decoding of h.264 video.
Version: 2.1
APIs: encode-video[h264], decode-video[h264]
</pre>
The capability record lists strings used to identify APIs provided by the GMP. Each API can (optionally) have a list of tags associated with it, giving further information about what is supported. The separator character for the list of tags is ":" (e.g. "[aFormat:bFormat:cFormat]"). In this example the plugin is stating that it can operate on "h264" video, which is understood by Gecko. This allows Gecko to know what formats are supported without loading the plugin.
The "Version" field must be a whole non-negative integer value. For EME GMPs, the version of plugin can be requested in the keySystem string when requesting access to the MediaKeys from JavaScript. For example, to ensure you have version 1 of the ClearKey CDM, from JavaScript call navigator.requestMediaKeySystemAccess("org.w3.clearkey.1", ...).
== How Gecko Loads a GMP ==