Version: 1.x
PluginRole
Type: enum<int>
Identifies the role of a plugin. In other words, it helps the player identify "special" plugins
that provide some core functionality. For example, the canSetPoster
property will check if there
are any plugins with the role POSTER
, before checking for native support.
1
- The plugin has a role ofPOSTER
, therefore it can set/manage posters.2
- The plugin has a role ofCONTROLS
, therefore it can set/manage controls.3
- The plugin has a role ofCAPTIONS
, therefore it can set/manage captions.4
- The plugin has a role ofSETTINGS
, therefore it can set/manage settings.