0.2.9 • Published 2 years ago

ad-inflow-modal v0.2.9

Weekly downloads
8
License
MIT
Repository
github
Last release
2 years ago

MIT license

Ad inflow modal

A simple modal inflow video ad.

Quick usage

<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ad-inflow-modal@latest/dist/ad-inflow-modal.min.css">
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ad-inflow-modal@latest/dist/ad-inflow-modal.min.js"></script>
</head>
var modal = new AdInflowModal({
  // closeButtonDelay: 3000,
  // skipAdIfNoAutoplay: true,
  // canAutoplayTimeout: 800,
  // logAdPlayerErrors: false,
  // openOnInteractionIfNoAutoplay: true,
  // requestAdIfNoAutoplay: true,
  imaAdPlayer: {
    tag: 'https://myadserver.com/path/to/vast/linear/tag.xml',
    vpaidMode: AdInflowModal.vpaidMode.INSECURE,
    locale: 'fr',
    maxDuration: 30000,
  },
});

modal.open();

Note: imaAdPlayer property is IMA Ad player configuration object.

License

The MIT License (MIT). Please see License File for more information.

0.2.9

2 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago