plugins.js

Methods

inner plugin(name, init)

The method for registering a video.js plugin. {@link videojs:videojs.registerPlugin].

Parameters:
Name Type Description
name string

The name of the plugin that is being registered

init plugins:PluginFn

The function that gets run when a Player initializes.