You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IMA Plugin will fire events that can be listened for. Ad lifecycle events can be listened for by following our [Advanced Example](https://github.com/googleads/videojs-ima/blob/master/examples/advanced/ads.js)
181
+
182
+
Other events are emited from the videojs player. Please see the below example to set up listeners for these events.
183
+
184
+
```javascript
185
+
this.player=videojs('content_video');
186
+
187
+
this.player.on('ads-manager', function(response){
188
+
var adsManager =response.adsManager;
189
+
// Your code in response to the `ads-manager` event.
190
+
})
191
+
```
192
+
193
+
Below are the events added by the videojs-ima plugin to the videojs player.
0 commit comments