MKBrandbrigadeController - v1.0.6

MKBrandbrigade Plugin is a web plugin for MKPlayer web SDK to support augmented ads.

How to use:

Install plugin

npm install @mediakind/mkplayer-brandbrigade

Include the OTT Player script

<script src="/node_modules/@brandbrigade/ott-bb-player/dist/OTTPlayer.js"></script>

Import plugin

import { MKBrandbrigadeController }
from "@mediakind/mkplayer-brandbrigade";

Initialize MKPlayer as usual

const player = new mkplayer.MKPlayer(videoContainer, playerConfig);

Initialize MKBrandbrigadeController with MKPlayer instance and mediaId

this.mkBrandbrigadeController = new MKBrandbrigadeController(player, mediaId);