Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
- updates online example
  • Loading branch information
radiantmediaplayer committed Apr 29, 2021
1 parent db5b4d1 commit 09fe6aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ad-scheduling-client-side.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="container">
<div class="row">
<div class="col">
<h1>Using Prebid.js with Radiant Media Player (client-side adapter)</h1>
<h1>Using Prebid.js with Radiant Media Player (Ad-scheduling)</h1>
<h2>Instream Video (muted autoplay)</h2>
<p>Go back to <a href="https://github.com/radiantmediaplayer/rmp-prebid">GitHub</a></p>
<p>Go back to <a
Expand Down
4 changes: 2 additions & 2 deletions js/ad-scheduling-client-side.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const invokeVideoPlayer = function (adTagUrl) {
]
};
const settings = {
licenseKey: 'Kl8lZ292K3N6Mm9pZz9yb201ZGFzaXMzMGRiMEElXyo=',
licenseKey: 'your-license-key',
src: src,
width: 640,
height: 360,
Expand Down Expand Up @@ -132,7 +132,7 @@ if (window.pbjs) {
}]
};

pbjs.que.push(function () {
pbjs.que.push(() => {
pbjs.addAdUnits(videoAdUnit);
pbjs.setConfig({
//debug: true,
Expand Down
2 changes: 1 addition & 1 deletion js/instream-client-side.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const invokeVideoPlayer = function (adTagUrl) {
]
};
const settings = {
licenseKey: 'Kl8lZ292K3N6Mm9pZz9yb201ZGFzaXMzMGRiMEElXyo=',
licenseKey: 'your-license-key',
src: src,
width: 640,
height: 360,
Expand Down
2 changes: 1 addition & 1 deletion js/instream-prebid-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const invokeVideoPlayer = function (adTagUrl) {
]
};
const settings = {
licenseKey: 'Kl8lZ292K3N6Mm9pZz9yb201ZGFzaXMzMGRiMEElXyo=',
licenseKey: 'your-license-key',
src: src,
width: 640,
height: 360,
Expand Down
6 changes: 3 additions & 3 deletions js/outstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const invokeVideoPlayer = function (adTagUrl, xml) {
window.console.log('invokeVideoPlayer with Prebid VAST url');
window.console.log(adTagUrl);
const settings = {
licenseKey: 'Kl8lZ292K3N6Mm9pZz9yb201ZGFzaXMzMGRiMEElXyo=',
licenseKey: 'your-license-key',
width: 640,
height: 360,
autoplay: true,
Expand Down Expand Up @@ -58,11 +58,11 @@ if (window.pbjs) {
}
}]
}];
pbjs.que.push(function () {
pbjs.que.push(() => {
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
timeout: 1000,
bidsBackHandler: function (bids) {
bidsBackHandler: (bids) => {
window.console.log('winning bid follows');
window.console.log(bids);
// we get the VAST XML from bids adResponse and pass it to our outstream player
Expand Down

0 comments on commit 09fe6aa

Please sign in to comment.