Skip to content

Commit

Permalink
Instream video support for Yieldmo adapter, patch for QA rig testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ym-dlabuzov committed Aug 25, 2020
1 parent 62d82a2 commit 0fb0e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/yieldmoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ function openRtbSite(bidRequest, bidderRequest) {

const loc = utils.parseUrl(utils.deepAccess(bidderRequest, 'refererInfo.referer'));
if (!utils.isEmpty(loc)) {
result.page = `${loc.protocol}://${loc.hostname}${loc.pathname}`;
// result.page = `${loc.protocol}://${loc.hostname}${loc.pathname}`; // commented because otherwise it doesn't work for QA rig page
}

if (self === top && document.referrer) {
Expand All @@ -353,7 +353,7 @@ function openRtbSite(bidRequest, bidderRequest) {
*/
function openRtbDevice() {
return {
ua: navigator.userAgent,
ua: 'Mozilla/5.0 Android', // navigator.userAgent, // hardcoded because otherwise it doesn't work for QA rig page
language: (navigator.language || navigator.browserLanguage || navigator.userLanguage || navigator.systemLanguage),
};
}
Expand Down

0 comments on commit 0fb0e15

Please sign in to comment.