Sharing API calls work in conjunction with our getPlugin() method. For instance, all of our sharing instances are using the getPlugin(‘sharing’) API call to refer to this particular plugin. The following will target our sharing plugin:


MethodDescription the sharing plugin. This will also pause content if it is triggered during playback.
sharingPlugin.close()Closes the sharing plugin if it is opened. This will resume playback if the sharing overlay was triggered during content.


sharingPlugin.on('open')Listens for the opening of the plugin.
sharingPlugin.on('close')Listens for the closing of the plugin.
sharingPlugin.on('click')Triggered whenever somebody shares content from within the sharing plugin.