Skip to content

Commit

Permalink
Merge pull request #286 from ooyala/bugfix/PLAYER-4232
Browse files Browse the repository at this point in the history
Added listener for PLAY_STARTED
  • Loading branch information
zelibobla authored Jan 9, 2019
2 parents b0412f8 + fd0965e commit a7be7dd
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 a7be7dd

Please sign in to comment.