platform/video.videojs/dist/video.es.js
function triggerSetupEvent(player, hash, before) {
  var eventName = (before ? 'before' : '') + 'pluginsetup';

  player.trigger(eventName, hash);
  player.trigger(eventName + ':' + hash.name, hash);
}
function triggerSetupEvent(player, hash, before) {
  var eventName = (before ? 'before' : '') + 'pluginsetup';

  player.trigger(eventName, hash);
  player.trigger(eventName + ':' + hash.name, hash);
}
Triggers a pair of plugin setup events.

@private
@param  {Player} player
A Video.js player instance.

@param  {Plugin~PluginEventHash} hash
A plugin event hash.

@param  {Boolean} [before]
If true, prefixes the event name with "before". In other words,
use this to trigger "beforepluginsetup" instead of "pluginsetup".