@bitmovin/player-integration-ias
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Bitmovin Player IAS Web SDK Integration

This project integrates the Integral Ad Science (IAS) Web Video SDK into the Bitmovin Web Player.

Limitations

  • The integration currently only works with Freewheel ads, which can be scheduled client-side or server-side via the Bitmovin Yospace integration.
  • The IAS Web Video SDK supports two modes, Campaign Monitoring (CM) and Firewall (FW). This integration currently supports the CM mode only.

Usage

Basic Setup

  1. Build the integration:
    $ npm ci
    $ npm run build
    
  2. Include the IASVANS javascript file in your HTML document. The integration is currently tested with __IASVANS_3.7.0.js.
  3. Include bitmovin-player-integrations-ias.js in your HTML document.
  4. After creating an instance of the Bitmovin Player, create an instance of the IAS integration.
    var player = new bitmovin.player.Player(document.getElementById('player'), config);
    var ias = new bitmovin.player.integrations.Ias(player, {
    				partnerCode: "YOUR PARTNER CODE", // Provided by IAS
    				adNetworkId: "YOUR AD NETWORK ID", // Provided by IAS
    				debug: true
    			});
  5. No other code is needed after this. The integration will now listen for the Bitmovin Player ad events, and report them as necessary.

An example of this setup can be seen in the example directory. To test this example page, simply run npm run start which will serve the example/index.html page in your browser. If you are using the Bitmovin Yospace Integration, please see the example/yospace.html page.

npm

The integration is also available in the NPM repository.

npm install @bitmovin/player-integration-ias

/@bitmovin/player-integration-ias/

    Package Sidebar

    Install

    npm i @bitmovin/player-integration-ias

    Weekly Downloads

    20

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    49.8 kB

    Total Files

    20

    Last publish

    Collaborators

    • bitadmin