Skip to content

Commit

Permalink
AdPlayer.Pro video module: fix integration example
Browse files Browse the repository at this point in the history
  • Loading branch information
artem committed Oct 18, 2024
1 parent c5dc24e commit 27b01a4
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions prebid-video/video-module/integration-examples/adplayerpro.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var adUnits = [{
code: 'div-gpt-ad-51545-0',
mediaTypes: {
video: {"context": "outstream"}
video: {context: 'outstream', playerSize: [640, 360], plcmt: 4}
},
video: {
divId: 'player', // required to indicate which player is being used to render this ad unit.
Expand All @@ -40,20 +40,20 @@
playerConfig: {
placementId: 'c9gebfehcqjE', // required, this placementId is only for demo purposes
params: {
'type': 'inView',
'muted': true,
'autoStart': true,
'advertising': {
'controls': true,
'closeButton': true,
type: 'inView',
muted: true,
autoStart: true,
width: 640,
height: 360,
advertising: {
closeButton: true,
// 'tag': {'client': 'googima'},
},
'width': '600',
'height': '300'
}
}
},
},]
}]
},
//settings for demo only
debugging: {
enabled: true,
intercept: [
Expand All @@ -70,7 +70,9 @@
}
},
]
}
},
consentManagement: {cmpApi: 'static', consentData: {getTCData: {gdprApplies: false}}},
bidResponseFilter: {cat: {blockUnknown: false}, adv: {blockUnknown: false}, attr: {blockUnknown: false}}
});
pbjs.addAdUnits(adUnits);

Expand Down

0 comments on commit 27b01a4

Please sign in to comment.