Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdPlayer.Pro video module: fix integration example #5665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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