Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.24 KB

adplayerproVideoProvider.md

File metadata and controls

54 lines (44 loc) · 1.24 KB

Overview

Module Name: AdPlayer.Pro Video Provider Module Type: Video Submodule Video Player: AdPlayer.Pro Player website: https://adplayer.pro Maintainer: [email protected]

Description

Video provider to connect the Prebid Video Module to AdPlayer.Pro.

Requirements

Your page must embed a build of AdPlayer.Pro. i.e.

<head> 
    <script  src="https://serving.stat-rock.com/player/prebidAdPlayerPro.js"></script>
</head>

Configuration

The AdPlayer.Pro Video Provider requires the following configuration:

pbjs.setConfig({
  video: {
    providers: [{
      divId: 'player', // required, this is the id of the div element where the player will be placed
      vendorCode: 3, // AdPlayer.Pro vendorCode
      playerConfig: {
        placementId: 'c9gebfehcqjE', // required, this placementId is only for demo purposes
        params: {
          'type': 'inView',
          'muted': true,
          'autoStart': true,
          'advertising': {
            'controls': true,
            'closeButton': true,
          },
          'width': '600',
          'height': '300'
        }
      },
    }]
  }
});

Additional embed instructions

Obtaining a license