0.0.8 • Published 2 months ago

@ygoto3/omap-dashjs-sd-binder v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@ygoto3/omap-dashjs-sd-binder

Overview

An OMAP binder implementation to bind dash.js to an OMAP client. This binder is implemented to manage an environment where only a single decoder is available.

Documentation

API document is available.

Getting Started

To install @ygoto3/omap-dashjs-sd-binder, run the command below.

$ npm install @ygoto3/omap-dashjs-sd-binder --save

Then you can bind any OMAP client to dash.js.

import { OmapDashjsSDBinder } from '@ygoto3/omap-dashjs-sd-binder';

const player = dashjs.MediaPlayer().create();
const adDisplayContainer = document.getElementById('ad-display-container') as HTMLDivElement;
const omapClient = new YourOMAPClient();
const omapBinder = new OmapDashjsSDBinder(player, adDisplayContainer);
omapBinder.bind(omapClient);
0.0.8

2 months ago

0.0.7

2 months ago

0.0.5

2 months ago

0.0.6

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago

0.0.2

5 months ago

0.0.1

5 months ago

0.0.0

5 months ago