Skip to content

Commit

Permalink
Merge pull request #41 from basil79/rename-to-adserve-tv
Browse files Browse the repository at this point in the history
rename library to adserve
  • Loading branch information
basil79 authored Jan 30, 2022
2 parents 94d4fbb + e1df20b commit 1420d4f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ For the full documentation:

A pre-bundled version of ads-manager is available: [`ads-manager.js`](dist/ads-manager.js) [minified].

You can add the script directly to your page and access the library's components through the `ssp4.tv` object.
You can add the script directly to your page and access the library's components through the `adserve.tv` object.

```html
<script src="ads-manager.js"></script>
Expand All @@ -143,7 +143,7 @@ You can add the script directly to your page and access the library's components
// Get your HTML element for ad container
let adContainer = document.getElementById('ad-container');
// Define ads manager and pass ad container
const adsManager = new ssp4.tv.AdsManager(adContainer);
const adsManager = new adserve.tv.AdsManager(adContainer);
```

## Install
Expand Down
2 changes: 1 addition & 1 deletion dist/ads-manager.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ads-manager",
"version": "1.0.9",
"version": "1.1.0",
"description": "HTML5 Video Ads Manager based on @dailymotion/vast-client",
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h1>Ads Manager</h1>
<!--<button id="play-button">Play</button>-->
<br/>
<br/>
<h3>VAST Tag URL/XML Inspector (VAST, VPAID, VMAP):</h3>
<h3>VAST Tag URL/XML Inspector (VAST, VPAID):</h3>
<textarea id="vast-url-input">https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinearvpaid2js&correlator=</textarea>
<button id="test-ad-button" class="primary-button">Test Ad</button>
<button id="pause-ad-button" class="ad-button">Pause Ad</button>
Expand Down
16 changes: 8 additions & 8 deletions public/js/ads-manager.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
var videoElement = document.getElementById('video-element');

var adContainer = document.getElementById('ad-container');
var adsManager = new ssp4.tv.AdsManager(adContainer);
var adsManager = new adserve.tv.AdsManager(adContainer);

console.log('AdsManager version is', adsManager.getVersion());

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(env, args) {
output : {
path: __dirname + (args.mode === 'production' ? '/dist' : '/public/js'),
filename : 'ads-manager.js',
library: 'ssp4'
library: 'adserve'
},
plugins: plugins,
optimization: {
Expand Down

0 comments on commit 1420d4f

Please sign in to comment.