0.3.0 • Published 11 months ago
ad-inflow-modal v0.3.0
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.3.0
11 months ago
0.2.9
3 years ago
0.2.8
4 years ago
0.2.7
4 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.3
6 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago