Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitmovin/player-integration-ias

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitmovin/player-integration-ias

IAS integration for the Bitmovin Web Player

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 19 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc