Skip to content

Commit

Permalink
fix: add the ad system to the ad event payload (#11)
Browse files Browse the repository at this point in the history
add `system` to the ad event payload
Depends on kaltura/playkit-js#362
  • Loading branch information
yairans authored May 16, 2019
1 parent 1abaef0 commit 05cdfb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ima-dai.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,10 @@ class ImaDAI extends BasePlugin implements IAdsControllerProvider, IEngineDecora
const ad = event.getAd();
if (ad) {
const podInfo = ad.getAdPodInfo();
adOptions.system = ad.getAdSystem();
adOptions.duration = ad.getDuration();
adOptions.position = podInfo.getAdPosition();
adOptions.title = ad.getTitle();
adOptions.position = podInfo.getAdPosition();
}
adOptions.linear = true;
return adOptions;
Expand Down

0 comments on commit 05cdfb0

Please sign in to comment.