MKBrandbrigade Plugin is a web plugin for MKPlayer web SDK to support augmented ads.
Install plugin
npm install @mediakind/mkplayer-brandbrigade
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);