Skip to content

Commit

Permalink
Added listener for PLAY_STARTED
Browse files Browse the repository at this point in the history
  • Loading branch information
ALexanderSPB committed Dec 25, 2018
1 parent b0412f8 commit fd0965e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/ooyala_ssai.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ OO.Ads.manager(function(_, $)
amc.addPlayerListener(amc.EVENTS.FULLSCREEN_CHANGED, _.bind(this.onFullscreenChanged, this));
amc.addPlayerListener(amc.EVENTS.AD_VOLUME_CHANGED, _.bind(this.onAdVolumeChanged, this));
amc.addPlayerListener(amc.EVENTS.MUTE_STATE_CHANGED, _.bind(this.onMuteStateChanged, this));
amc.addPlayerListener(amc.EVENTS.PLAY_STARTED, _.bind(this.onPlayStarted, this));
};

this.onPlayStarted = function () {
_sendMetadataRequest();
};

/**
Expand Down

0 comments on commit fd0965e

Please sign in to comment.