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:
Method | Description |
---|
sharingPlugin.open() | Opens 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. |