MKBrandbrigadeController - v1.0.6

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

Install plugin

npm install @mediakind/mkplayer-brandbrigade-plugin

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-plugin";

Initialize MKPlayer as usual

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

Initialize MKBrandbrigadeController with MKPlayer instance and optional params (devBBConfig and additionalDetails)

this.mkBrandbrigadeController = new MKBrandbrigadeController(player, devBBConfig?, additionalDetails?);