Viewability Events

📘

NOTE

We do not recommend using viewability API with iframes.


on('viewable')

When the player is viewable, a viewable event is fired with a viewable value of 1. When hidden, it fires with a value of 0.