Interactivity Viewer Plugin

In this topic, you will learn about using the interactivity plugin to allow usage of Brightcove Interactivity functionality.


Brightcove Interactivity permits you to add annotations to videos that add functionality like:

  • Chapters
  • Sentiment (ratings)
  • Overlays and call to actions
  • Polls
  • Branching

For these annotations to function, the Interactivity Viewer Plugin must be added to the Brightcove Player you are using. This is done in the PLAYERS module. In the left-side navigation click Interactivity, then check the Enable interactivity checkbox. This installs the plugin.

enable interactivity

Implement using code

Although most likely you use the UI to load the plugin and implement annotations, you can manually load the plugin. First you have to include the plugin code:

<script src="">

You then initialize the by calling it (highlighted):

<video-js id="myPlayerID" 
<script src=""></script>
  videojs.getPlayer('myPlayerID').ready(function () {
    var myPlayer = this;

There no CSS that needs to be linked in for this plugin.

Embed code details

There are three types of embedded code for Brightcove Interactivity. Those being:

  • Projects
  • Templates
  • Experiences

The code used for each is quite different, with details following.


  • iFrame: &interactivityProjectId=64132eeb95e5ed0017610e83
  • JavaScript: data-interactivity-project-id="64132eeb95e5ed0017610e83"


The template is applied to the video itself, so you do not see any references to the Interactivity Template in neither the iframe or JavaScript code.


  • iFrame (a code block is included here as there are numerous references to the Interactivity Experience):
    <div style="position: relative; display: block; max-width: 100%;">
      <div id="interactivity_embedded_experience_63fe5a64859355001da01044" style="padding-top: 56.255;">
        <iframe src=""
          style="position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;"></iframe>
    <script type="application/javascript" src=""></script>
  • Landing Page: