Skip to content

Commit

Permalink
fix(ads): Add the original IMA event to the Shaka AD_CLICKED event.
Browse files Browse the repository at this point in the history
Closes shaka-project#3304

Change-Id: Ic75bef6a27c59f73e4665d9009867ff54e240a5a
  • Loading branch information
ismena committed Apr 2, 2021
1 parent 9e2a585 commit 7c6ee2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ads/client_side_ad_manager.js
Expand Up @@ -297,7 +297,8 @@ shaka.ads.ClientSideAdManager = class {
this.eventManager_.listen(this.imaAdsManager_,
google.ima.AdEvent.Type.CLICK, (e) => {
this.onEvent_(new shaka.util.FakeEvent(
shaka.ads.AdManager.AD_CLICKED));
shaka.ads.AdManager.AD_CLICKED,
{'originalEvent': e}));
});

this.eventManager_.listen(this.imaAdsManager_,
Expand Down

0 comments on commit 7c6ee2d

Please sign in to comment.