Skip to content

[AD-963] Add documentation for JW Player RTD Provider#2427

Merged
bretg merged 7 commits intoprebid:masterfrom
karimMourra:feat/AD-963
Oct 28, 2020
Merged

[AD-963] Add documentation for JW Player RTD Provider#2427
bretg merged 7 commits intoprebid:masterfrom
karimMourra:feat/AD-963

Conversation

@karimMourra
Copy link
Contributor

Required for prebid/Prebid.js#5844

@karimMourra
Copy link
Contributor Author

@bretg I addressed your comments, could you please review ? Thanks

```

3) In order to prefetch targeting information for certain media, include the media IDs in the `jwplayerRtdProvider` var and set `waitForIt` to `true` before calling `setConfig`:
3) In order to prefetch targeting information for certain media, include the media IDs in the `jwplayer` var and set `waitForIt` to `true` before calling `setConfig`:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i disagree with this change, there is no jwplayer var. I think this would be confusing to the reader.
var jwplayer = {...}; would be a jwplayer var. I'll address this

Comment on lines 110 to 118
fpd: {
context: {
data: {
jwTargeting: {
segments: ['123', '456'],
content: {
id: 'jw_abc123'
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong, we are not adding the targeting information to fpd, we are adding it on the bid object. We read from adUnit.fpd and write to bid.

@bretg bretg added LGTM and removed needs work labels Oct 28, 2020
@bretg bretg merged commit 89916ca into prebid:master Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments